cage: add basic wlr-output-management support

Co-authored-by: Dima Krasner <dima@dimakrasner.com>
This commit is contained in:
Jonathan GUILLOT 2023-07-21 15:37:38 +02:00 committed by Simon Ser
parent 27b6971b36
commit 6f78d9d5b2
6 changed files with 170 additions and 21 deletions

View file

@ -37,6 +37,7 @@ struct cg_server {
* some outputs may be disabled. */
struct wl_list outputs; // cg_output::link
struct wl_listener new_output;
struct wl_listener output_layout_change;
struct wl_listener xdg_toplevel_decoration;
struct wl_listener new_xdg_shell_surface;
@ -46,6 +47,9 @@ struct cg_server {
#if CAGE_HAS_XWAYLAND
struct wl_listener new_xwayland_surface;
#endif
struct wlr_output_manager_v1 *output_manager_v1;
struct wl_listener output_manager_apply;
struct wl_listener output_manager_test;
bool xdg_decoration;
bool allow_vt_switch;