aboutsummaryrefslogtreecommitdiff
path: root/include/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/desktop')
-rw-r--r--include/sway/desktop/idle_inhibit_v1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/desktop/idle_inhibit_v1.h b/include/sway/desktop/idle_inhibit_v1.h
index 94c25a42..1764713c 100644
--- a/include/sway/desktop/idle_inhibit_v1.h
+++ b/include/sway/desktop/idle_inhibit_v1.h
@@ -6,8 +6,12 @@
struct sway_idle_inhibitor_v1 {
struct sway_server *server;
+ struct sway_view *view;
+ struct wl_list link;
struct wl_listener destroy;
};
+void idle_inhibit_v1_check_active(struct sway_server *server);
+
#endif