mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-01 22:58:41 -04:00
23 lines
473 B
C
23 lines
473 B
C
#ifndef CG_SERVER_H
|
|
#define CG_SERVER_H
|
|
|
|
#include <wayland-server-core.h>
|
|
#include <wlr/types/wlr_output_layout.h>
|
|
|
|
#include "desktop/output.h"
|
|
|
|
struct cg_server {
|
|
struct wl_display *wl_display;
|
|
|
|
/* Includes disabled outputs. */
|
|
struct wl_list outputs; // cg_output::link
|
|
struct wlr_output_layout *output_layout;
|
|
struct wl_listener new_output;
|
|
|
|
struct wl_listener new_xdg_shell_surface;
|
|
|
|
struct wl_listener view_mapped;
|
|
struct wl_listener view_unmapped;
|
|
};
|
|
|
|
#endif
|