aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-16 13:53:39 +0100
committeremersion <contact@emersion.fr>2017-12-16 13:53:39 +0100
commit4f0443a3447b7f27da36c5b0e638c0619da1f273 (patch)
tree6a63a68036edb1d6f9fe229bc6f0e50155bbf81c /include/wlr
parent25acc37d67b2aa1bc5fe7315e9840eaea5a833b0 (diff)
Support multiple resources per seat client for pointer, keyboard, touch
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_seat.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 00fd8da1..2084d8f7 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -16,9 +16,11 @@ struct wlr_seat_client {
struct wl_client *client;
struct wlr_seat *seat;
- struct wl_resource *pointer;
- struct wl_resource *keyboard;
- struct wl_resource *touch;
+ // lists of wl_resource
+ struct wl_list pointers;
+ struct wl_list keyboards;
+ struct wl_list touches;
+
struct wl_resource *data_device;
struct {