Add multiseat support to swaylock

This commit is contained in:
Ryan Dwyer 2018-10-24 22:04:16 +10:00
parent bdb176863c
commit 17bb39cd49
4 changed files with 21 additions and 14 deletions

View file

@ -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

View file

@ -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;