aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-16 11:53:14 -0500
committerGitHub <noreply@github.com>2017-12-16 11:53:14 -0500
commit3363ea869a250a54214af93d6fc7cdc22f1fad9e (patch)
tree6cde11cd4475c730b43a0b7264b9fdcb3e8bbb7c /include
parent95fddf2fa8ba5f217137be10e2ad211c6d138990 (diff)
parent50d91bd260efb767a35697ce016dbb415893c1a3 (diff)
Merge pull request #492 from emersion/seat-client-multiple-resources
Support multiple resources per seat client
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_seat.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 00fd8da1..dea9a9d0 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -16,10 +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;
- struct wl_resource *data_device;
+ // lists of wl_resource
+ struct wl_list pointers;
+ struct wl_list keyboards;
+ struct wl_list touches;
+ struct wl_list data_devices;
struct {
struct wl_signal destroy;