diff options
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r-- | include/sway/input/seat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index 32795b03..9c3028c5 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <wlr/types/wlr_layer_shell_v1.h> | 4 | #include <wlr/types/wlr_layer_shell_v1.h> |
5 | #include <wlr/types/wlr_seat.h> | 5 | #include <wlr/types/wlr_seat.h> |
6 | #include <wlr/util/edges.h> | 6 | #include <wlr/util/edges.h> |
7 | #include "sway/config.h" | ||
7 | #include "sway/input/input-manager.h" | 8 | #include "sway/input/input-manager.h" |
8 | 9 | ||
9 | struct sway_seat; | 10 | struct sway_seat; |
@@ -80,6 +81,8 @@ struct sway_seat { | |||
80 | 81 | ||
81 | uint32_t last_button_serial; | 82 | uint32_t last_button_serial; |
82 | 83 | ||
84 | uint32_t idle_inhibit_sources, idle_wake_sources; | ||
85 | |||
83 | list_t *deferred_bindings; // struct sway_binding | 86 | list_t *deferred_bindings; // struct sway_binding |
84 | 87 | ||
85 | struct wl_listener focus_destroy; | 88 | struct wl_listener focus_destroy; |
@@ -196,6 +199,9 @@ struct seat_config *seat_get_config(struct sway_seat *seat); | |||
196 | 199 | ||
197 | struct seat_config *seat_get_config_by_name(const char *name); | 200 | struct seat_config *seat_get_config_by_name(const char *name); |
198 | 201 | ||
202 | void seat_idle_notify_activity(struct sway_seat *seat, | ||
203 | enum sway_input_idle_source source); | ||
204 | |||
199 | bool seat_is_input_allowed(struct sway_seat *seat, struct wlr_surface *surface); | 205 | bool seat_is_input_allowed(struct sway_seat *seat, struct wlr_surface *surface); |
200 | 206 | ||
201 | void drag_icon_update_position(struct sway_drag_icon *icon); | 207 | void drag_icon_update_position(struct sway_drag_icon *icon); |