aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h9
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
19struct sway_pointer {
20 struct sway_seat *seat;
21 struct wlr_input_device *device;
22 struct wl_list link;
23};
24
18struct sway_seat *sway_seat_create(struct sway_input_manager *input, 25struct sway_seat *sway_seat_create(struct sway_input_manager *input,
19 const char *seat_name); 26 const char *seat_name);
20 27