aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-24 14:33:33 +0200
committerGitHub <noreply@github.com>2018-10-24 14:33:33 +0200
commitf2082a3d4c80e96c1e8c75bf8ca442786efb2153 (patch)
tree913c25041f628e8afb2d7e1f0ab1c4a5f9a20ec5 /include
parentbdb176863c3c45caae70abb909f9eca9f611e78f (diff)
parent17bb39cd499a2fa423272b62b61368aa0044afe2 (diff)
downloadsway-f2082a3d4c80e96c1e8c75bf8ca442786efb2153.tar.xz
Merge pull request #2961 from RyanDwyer/swaylock-multiseat
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 {
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;