aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 {
struct sway_input_manager *input;
swayc_t *focus;
- struct wl_list keyboards;
+ struct wl_list keyboards; // sway_keyboard::link
+ struct wl_list pointers; // sway_pointer::link
struct wl_listener focus_destroy;
};
+struct sway_pointer {
+ struct sway_seat *seat;
+ struct wlr_input_device *device;
+ struct wl_list link;
+};
+
struct sway_seat *sway_seat_create(struct sway_input_manager *input,
const char *seat_name);