aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-02-07 11:10:49 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-02-17 12:37:12 +0100
commit50d573b2ca68013a32828ae061ac2c242db333c6 (patch)
treeb80c8c7bdade9e0f024f32f5bbdc03f8cf31bf9f /include/rootston
parent088028c570dd5b52f81069654166f0117667fac0 (diff)
implements the idle_inhibit protocol type
This adds the types/wlr_idle_inhibit_v1 implementation.
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/desktop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index 0132a7e8..de9f117a 100644
--- a/include/rootston/desktop.h
+++ b/include/rootston/desktop.h
@@ -16,6 +16,10 @@
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/types/wlr_xdg_shell.h>
+#include <wlr/types/wlr_list.h>
+#include <wlr/types/wlr_idle.h>
+#include <wlr/types/wlr_idle_inhibit_v1.h>
+#include "rootston/view.h"
#include "rootston/config.h"
#include "rootston/output.h"
#include "rootston/view.h"
@@ -41,6 +45,7 @@ struct roots_desktop {
struct wlr_server_decoration_manager *server_decoration_manager;
struct wlr_primary_selection_device_manager *primary_selection_device_manager;
struct wlr_idle *idle;
+ struct wlr_idle_inhibit_v1 *idle_inhibit;
struct wl_listener new_output;
struct wl_listener layout_change;