diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/desktop/idle_inhibit_v1.h | 4 | ||||
-rw-r--r-- | include/sway/server.h | 1 |
2 files changed, 5 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 @@ | |||
6 | 6 | ||
7 | struct sway_idle_inhibitor_v1 { | 7 | struct sway_idle_inhibitor_v1 { |
8 | struct sway_server *server; | 8 | struct sway_server *server; |
9 | struct sway_view *view; | ||
9 | 10 | ||
11 | struct wl_list link; | ||
10 | struct wl_listener destroy; | 12 | struct wl_listener destroy; |
11 | }; | 13 | }; |
12 | 14 | ||
15 | void idle_inhibit_v1_check_active(struct sway_server *server); | ||
16 | |||
13 | #endif | 17 | #endif |
diff --git a/include/sway/server.h b/include/sway/server.h index 246a9381..693e6b82 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -32,6 +32,7 @@ struct sway_server { | |||
32 | 32 | ||
33 | struct wlr_idle_inhibit_manager_v1 *idle_inhibit_v1; | 33 | struct wlr_idle_inhibit_manager_v1 *idle_inhibit_v1; |
34 | struct wl_listener new_idle_inhibitor_v1; | 34 | struct wl_listener new_idle_inhibitor_v1; |
35 | struct wl_list idle_inhibitors_v1; | ||
35 | 36 | ||
36 | struct wlr_layer_shell *layer_shell; | 37 | struct wlr_layer_shell *layer_shell; |
37 | struct wl_listener layer_shell_surface; | 38 | struct wl_listener layer_shell_surface; |