aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-03 17:03:29 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-04 18:47:48 -0400
commitb7e779491232b825f6edc0b199e7564e93f1e332 (patch)
tree00457213fa57ec07692bb093392a83203e0e9960 /include/sway/input/seat.h
parentAdd input inhibitor to input manager (diff)
downloadsway-b7e779491232b825f6edc0b199e7564e93f1e332.tar.gz
sway-b7e779491232b825f6edc0b199e7564e93f1e332.tar.zst
sway-b7e779491232b825f6edc0b199e7564e93f1e332.zip
Implement input-inhibit in sway, swaylock
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h5
1 files changed, 5 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
89struct seat_config *seat_get_config(struct sway_seat *seat); 92struct seat_config *seat_get_config(struct sway_seat *seat);
90 93
94bool seat_allow_input(struct sway_seat *seat, struct wlr_surface *surface);
95
91#endif 96#endif