diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-24 10:15:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-24 10:15:18 -0500 |
commit | b7b86a959188d5b2e47a2a4182c6041b022d68c2 (patch) | |
tree | bc1c72a6d2c026ec741809f5e7f1a9fb2229c28d /rootston | |
parent | 94d53d53f9a13e76bf35e072de2947be3c2f7125 (diff) | |
parent | 67285c1d5758526688f0023e27c4a6b24730a2fa (diff) |
Merge pull request #641 from Ongy/idle-inhibit
Add idle-inhibit implementation
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/desktop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index 6b28a41c..8ac741bb 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_output_layout.h> +#include <wlr/types/wlr_idle_inhibit_v1.h> #include <wlr/types/wlr_primary_selection.h> #include <wlr/types/wlr_server_decoration.h> #include <wlr/types/wlr_wl_shell.h> @@ -703,6 +704,7 @@ struct roots_desktop *desktop_create(struct roots_server *server, desktop->primary_selection_device_manager = 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); return desktop; } |