diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-03 11:29:32 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-03 14:06:52 -0400 |
commit | 3a8c7f283d042abb88aef225f3631ff4f35d57c0 (patch) | |
tree | 5a4d313394084c3845ffd3a1236e1bed30bc005b /rootston/desktop.c | |
parent | ef4e833f13e69dced02a169225528f548c98b3f8 (diff) |
Add input-inhibitor example client
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r-- | rootston/desktop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index ab16ed3d..ed4abf0a 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -10,6 +10,7 @@ #include <wlr/types/wlr_gamma_control.h> #include <wlr/types/wlr_idle.h> #include <wlr/types/wlr_idle_inhibit_v1.h> +#include <wlr/types/wlr_input_inhibitor.h> #include <wlr/types/wlr_layer_shell.h> #include <wlr/types/wlr_linux_dmabuf.h> #include <wlr/types/wlr_output_layout.h> @@ -854,6 +855,8 @@ struct roots_desktop *desktop_create(struct roots_server *server, wlr_primary_selection_device_manager_create(server->wl_display); desktop->idle = wlr_idle_create(server->wl_display); desktop->idle_inhibit = wlr_idle_inhibit_v1_create(server->wl_display); + desktop->input_inhibit = + wlr_input_inhibit_manager_create(server->wl_display); struct wlr_egl *egl = wlr_backend_get_egl(server->backend); desktop->linux_dmabuf = wlr_linux_dmabuf_create(server->wl_display, egl); |