From 4f0443a3447b7f27da36c5b0e638c0619da1f273 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 16 Dec 2017 13:53:39 +0100 Subject: Support multiple resources per seat client for pointer, keyboard, touch --- include/wlr/types/wlr_seat.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/wlr') 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 { -- cgit v1.2.3