aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-14 15:55:04 -0500
committerGitHub <noreply@github.com>2018-01-14 15:55:04 -0500
commite46d2dd0f884c96bb535c280a6ec9ea616d39b5c (patch)
treeaa5824b20c727291cd47e2b2962097a087b73f0b /rootston/desktop.c
parent66d4d2928f66bc33a8ac7c271e9ac4c992ccdd47 (diff)
parent9e85283f063d32c5e35b2091c4e67fc5cea0b630 (diff)
Merge pull request #556 from raazvvann/heghe/idle-protocol
Idle protocol
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index b74e2cb1..d7da1600 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -8,6 +8,7 @@
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_cursor.h>
#include <wlr/types/wlr_gamma_control.h>
+#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_primary_selection.h>
#include <wlr/types/wlr_server_decoration.h>
#include <wlr/types/wlr_output_layout.h>
@@ -502,6 +503,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT);
desktop->primary_selection_device_manager =
wlr_primary_selection_device_manager_create(server->wl_display);
+ desktop->idle = wlr_idle_create(server->wl_display);
return desktop;
}