mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
26 lines
460 B
C
26 lines
460 B
C
|
|
#ifndef CG_SERVER_H
|
||
|
|
#define CG_SERVER_H
|
||
|
|
|
||
|
|
#include <wayland-server.h>
|
||
|
|
#include <wlr/backend.h>
|
||
|
|
#include <wlr/types/wlr_output_layout.h>
|
||
|
|
|
||
|
|
#include "output.h"
|
||
|
|
#include "seat.h"
|
||
|
|
|
||
|
|
struct cg_server {
|
||
|
|
struct wl_display *wl_display;
|
||
|
|
struct wlr_backend *backend;
|
||
|
|
|
||
|
|
struct wl_listener new_xdg_shell_surface;
|
||
|
|
struct wl_list views;
|
||
|
|
|
||
|
|
struct cg_seat *seat;
|
||
|
|
|
||
|
|
struct wlr_output_layout *output_layout;
|
||
|
|
struct cg_output *output;
|
||
|
|
struct wl_listener new_output;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|