mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
cage: add basic wlr-output-management support
Co-authored-by: Dima Krasner <dima@dimakrasner.com>
This commit is contained in:
parent
27b6971b36
commit
6f78d9d5b2
6 changed files with 170 additions and 21 deletions
4
server.h
4
server.h
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue