Support multiple resources per seat client for pointer, keyboard, touch

This commit is contained in:
emersion 2017-12-16 13:53:39 +01:00
parent 25acc37d67
commit 4f0443a344
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 148 additions and 127 deletions

View file

@ -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 {