mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-26 07:00:00 -05:00
Start Cage 0.2 rewrite
This commit is contained in:
parent
d097393732
commit
248f4847df
5 changed files with 577 additions and 25 deletions
18
serverng.h
Normal file
18
serverng.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#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;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue