aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-24 22:04:16 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-24 22:04:16 +1000
commit17bb39cd499a2fa423272b62b61368aa0044afe2 (patch)
tree913c25041f628e8afb2d7e1f0ab1c4a5f9a20ec5 /include
parentMerge pull request #2933 from Snaipe/xwayland-window-properties (diff)
downloadsway-17bb39cd499a2fa423272b62b61368aa0044afe2.tar.gz
sway-17bb39cd499a2fa423272b62b61368aa0044afe2.tar.zst
sway-17bb39cd499a2fa423272b62b61368aa0044afe2.zip
Add multiseat support to swaylock
Diffstat (limited to 'include')
-rw-r--r--include/swaylock/seat.h6
-rw-r--r--include/swaylock/swaylock.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/swaylock/seat.h b/include/swaylock/seat.h
index 4bcf40c0..c79afcd0 100644
--- a/include/swaylock/seat.h
+++ b/include/swaylock/seat.h
@@ -10,6 +10,12 @@ struct swaylock_xkb {
10 struct xkb_keymap *keymap; 10 struct xkb_keymap *keymap;
11}; 11};
12 12
13struct swaylock_seat {
14 struct swaylock_state *state;
15 struct wl_pointer *pointer;
16 struct wl_keyboard *keyboard;
17};
18
13extern const struct wl_seat_listener seat_listener; 19extern const struct wl_seat_listener seat_listener;
14 20
15#endif 21#endif
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h
index 25b41a71..18af7ab4 100644
--- a/include/swaylock/swaylock.h
+++ b/include/swaylock/swaylock.h
@@ -62,8 +62,6 @@ struct swaylock_state {
62 struct wl_compositor *compositor; 62 struct wl_compositor *compositor;
63 struct zwlr_layer_shell_v1 *layer_shell; 63 struct zwlr_layer_shell_v1 *layer_shell;
64 struct zwlr_input_inhibit_manager_v1 *input_inhibit_manager; 64 struct zwlr_input_inhibit_manager_v1 *input_inhibit_manager;
65 struct wl_pointer *pointer;
66 struct wl_keyboard *keyboard;
67 struct wl_shm *shm; 65 struct wl_shm *shm;
68 struct wl_list surfaces; 66 struct wl_list surfaces;
69 struct wl_list images; 67 struct wl_list images;