diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-10 15:49:54 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-10 16:57:38 -0500 |
commit | 9ae906cd3752fd16ea2c3e046e24abb8ec8462a2 (patch) | |
tree | bc4db6b8b35ff1babf9b3e7dec696e88648190bf /include | |
parent | keyboard remove (diff) | |
download | sway-9ae906cd3752fd16ea2c3e046e24abb8ec8462a2.tar.gz sway-9ae906cd3752fd16ea2c3e046e24abb8ec8462a2.tar.zst sway-9ae906cd3752fd16ea2c3e046e24abb8ec8462a2.zip |
sway pointer
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index a0c6ab07..5455601e 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -10,11 +10,18 @@ struct sway_seat { | |||
10 | struct sway_input_manager *input; | 10 | struct sway_input_manager *input; |
11 | swayc_t *focus; | 11 | swayc_t *focus; |
12 | 12 | ||
13 | struct wl_list keyboards; | 13 | struct wl_list keyboards; // sway_keyboard::link |
14 | struct wl_list pointers; // sway_pointer::link | ||
14 | 15 | ||
15 | struct wl_listener focus_destroy; | 16 | struct wl_listener focus_destroy; |
16 | }; | 17 | }; |
17 | 18 | ||
19 | struct sway_pointer { | ||
20 | struct sway_seat *seat; | ||
21 | struct wlr_input_device *device; | ||
22 | struct wl_list link; | ||
23 | }; | ||
24 | |||
18 | struct sway_seat *sway_seat_create(struct sway_input_manager *input, | 25 | struct sway_seat *sway_seat_create(struct sway_input_manager *input, |
19 | const char *seat_name); | 26 | const char *seat_name); |
20 | 27 | ||