diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-03 15:58:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-03 15:58:47 -0400 |
commit | 2ecce27dd55f66121fc2bca425f45e851bf1ec4c (patch) | |
tree | 97ba6de65f200d24bacf49a2eaf7a30572896a84 /include/rootston/desktop.h | |
parent | 1e39c37b3c78ea370e9fd870b63da194fc60d8fc (diff) | |
parent | 56deff41b6c2c6190894068994ba403978068bad (diff) |
Merge pull request #807 from swaywm/input-inhibit
Input inhibit
Diffstat (limited to 'include/rootston/desktop.h')
-rw-r--r-- | include/rootston/desktop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index c1dcad56..f150147b 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -6,6 +6,7 @@ #include <wlr/types/wlr_compositor.h> #include <wlr/types/wlr_gamma_control.h> #include <wlr/types/wlr_idle.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_list.h> @@ -47,6 +48,7 @@ struct roots_desktop { struct wlr_primary_selection_device_manager *primary_selection_device_manager; struct wlr_idle *idle; struct wlr_idle_inhibit_manager_v1 *idle_inhibit; + struct wlr_input_inhibit_manager *input_inhibit; struct wlr_linux_dmabuf *linux_dmabuf; struct wlr_layer_shell *layer_shell; @@ -57,6 +59,8 @@ struct roots_desktop { struct wl_listener wl_shell_surface; struct wl_listener layer_shell_surface; struct wl_listener decoration_new; + struct wl_listener input_inhibit_activate; + struct wl_listener input_inhibit_deactivate; #ifdef WLR_HAS_XWAYLAND struct wlr_xwayland *xwayland; |