diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 5 | ||||
-rw-r--r-- | include/swaylock/swaylock.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index 53031d70..4b0fc3c1 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -32,6 +32,9 @@ struct sway_seat { | |||
32 | // If the focused layer is set, views cannot receive keyboard focus | 32 | // If the focused layer is set, views cannot receive keyboard focus |
33 | struct wlr_layer_surface *focused_layer; | 33 | struct wlr_layer_surface *focused_layer; |
34 | 34 | ||
35 | // If exclusive_client is set, no other clients will receive input events | ||
36 | struct wl_client *exclusive_client; | ||
37 | |||
35 | struct wl_listener focus_destroy; | 38 | struct wl_listener focus_destroy; |
36 | struct wl_listener new_container; | 39 | struct wl_listener new_container; |
37 | 40 | ||
@@ -88,4 +91,6 @@ void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config); | |||
88 | 91 | ||
89 | struct seat_config *seat_get_config(struct sway_seat *seat); | 92 | struct seat_config *seat_get_config(struct sway_seat *seat); |
90 | 93 | ||
94 | bool seat_allow_input(struct sway_seat *seat, struct wlr_surface *surface); | ||
95 | |||
91 | #endif | 96 | #endif |
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index ddca633d..06c94ead 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h | |||
@@ -33,6 +33,7 @@ struct swaylock_state { | |||
33 | struct wl_display *display; | 33 | struct wl_display *display; |
34 | struct wl_compositor *compositor; | 34 | struct wl_compositor *compositor; |
35 | struct zwlr_layer_shell_v1 *layer_shell; | 35 | struct zwlr_layer_shell_v1 *layer_shell; |
36 | struct zwlr_input_inhibit_manager_v1 *input_inhibit_manager; | ||
36 | struct wl_shm *shm; | 37 | struct wl_shm *shm; |
37 | struct wl_list surfaces; | 38 | struct wl_list surfaces; |
38 | struct swaylock_args args; | 39 | struct swaylock_args args; |