Implement key binds to control virtual outputs

It is now possible to use keybinds to add and remove virtual outputs
(also called headless backend in wlroots terminology).
This commit is contained in:
kyak 2023-12-05 19:06:56 +03:00
parent 5d2f594626
commit 45012d322a
5 changed files with 149 additions and 1 deletions

View file

@ -203,6 +203,10 @@ struct server {
struct wlr_renderer *renderer;
struct wlr_allocator *allocator;
struct wlr_backend *backend;
struct headless {
struct wlr_backend *backend;
char pending_output_name[4096];
} headless;
struct wlr_session *session;
struct wlr_xdg_shell *xdg_shell;