aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-10 15:49:54 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-10 16:57:38 -0500
commit9ae906cd3752fd16ea2c3e046e24abb8ec8462a2 (patch)
treebc4db6b8b35ff1babf9b3e7dec696e88648190bf /include
parent4d449743c5c476f1891a64b31f00cb7d5dd1555b (diff)
sway pointer
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);