diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-10-24 22:04:16 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-10-24 22:04:16 +1000 |
commit | 17bb39cd499a2fa423272b62b61368aa0044afe2 (patch) | |
tree | 913c25041f628e8afb2d7e1f0ab1c4a5f9a20ec5 /include/swaylock | |
parent | bdb176863c3c45caae70abb909f9eca9f611e78f (diff) | |
download | sway-17bb39cd499a2fa423272b62b61368aa0044afe2.tar.xz |
Add multiseat support to swaylock
Diffstat (limited to 'include/swaylock')
-rw-r--r-- | include/swaylock/seat.h | 6 | ||||
-rw-r--r-- | include/swaylock/swaylock.h | 2 |
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 { struct xkb_keymap *keymap; }; +struct swaylock_seat { + struct swaylock_state *state; + struct wl_pointer *pointer; + struct wl_keyboard *keyboard; +}; + extern const struct wl_seat_listener seat_listener; #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 { struct wl_compositor *compositor; struct zwlr_layer_shell_v1 *layer_shell; struct zwlr_input_inhibit_manager_v1 *input_inhibit_manager; - struct wl_pointer *pointer; - struct wl_keyboard *keyboard; struct wl_shm *shm; struct wl_list surfaces; struct wl_list images; |