From 50d573b2ca68013a32828ae061ac2c242db333c6 Mon Sep 17 00:00:00 2001 From: Markus Ongyerth Date: Wed, 7 Feb 2018 11:10:49 +0100 Subject: implements the idle_inhibit protocol type This adds the types/wlr_idle_inhibit_v1 implementation. --- rootston/desktop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rootston') 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 #include #include +#include #include #include #include @@ -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; } -- cgit v1.2.3