wlroots-hyprland/include/rootston/server.h

38 lines
828 B
C
Raw Normal View History

2017-09-23 02:24:32 +02:00
#ifndef _ROOTSTON_SERVER_H
#define _ROOTSTON_SERVER_H
2018-02-12 21:29:23 +01:00
#include <wayland-server-core.h>
2017-09-23 02:24:32 +02:00
#include <wlr/backend.h>
#include <wlr/backend/session.h>
2018-02-12 21:29:23 +01:00
#include <wlr/config.h>
#include <wlr/render/wlr_renderer.h>
2018-02-12 21:29:23 +01:00
#include <wlr/types/wlr_data_device.h>
#if WLR_HAS_XWAYLAND
2017-09-23 02:24:32 +02:00
#include <wlr/xwayland.h>
2017-10-06 23:50:25 +02:00
#endif
2017-09-23 02:24:32 +02:00
#include "rootston/config.h"
#include "rootston/desktop.h"
#include "rootston/input.h"
struct roots_server {
2017-09-23 02:24:32 +02:00
/* Rootston resources */
struct roots_config *config;
struct roots_desktop *desktop;
struct roots_input *input;
/* Wayland resources */
struct wl_display *wl_display;
struct wl_event_loop *wl_event_loop;
/* WLR tools */
struct wlr_backend *backend;
struct wlr_renderer *renderer;
/* Global resources */
struct wlr_data_device_manager *data_device_manager;
2017-09-23 02:24:32 +02:00
};
extern struct roots_server server;
2017-09-23 02:24:32 +02:00
#endif