mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-20 08:56:27 -05:00
Establish rootston headers & main
This commit is contained in:
parent
06ae9e7c9f
commit
550748681d
11 changed files with 826 additions and 0 deletions
31
include/rootston/server.h
Normal file
31
include/rootston/server.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#ifndef _ROOTSTON_SERVER_H
|
||||
#define _ROOTSTON_SERVER_H
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/backend.h>
|
||||
#include <wlr/backend/session.h>
|
||||
#include <wlr/render.h>
|
||||
#include <wlr/xwayland.h>
|
||||
#include "rootston/config.h"
|
||||
#include "rootston/desktop.h"
|
||||
#include "rootston/input.h"
|
||||
|
||||
struct rootston {
|
||||
/* 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_session *session;
|
||||
struct wlr_renderer *renderer;
|
||||
struct wlr_xwayland *xwayland;
|
||||
};
|
||||
|
||||
extern struct rootston root;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue