diff options
author | Mykola Orliuk <virkony@gmail.com> | 2020-10-03 23:06:10 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-12 12:31:32 +0100 |
commit | 70ffda3ea313caace95ad61d647ffb7367af1ae5 (patch) | |
tree | 9ede3b735d4addead45d85869aa89b678b55ab45 /include/backend/wayland.h | |
parent | 85b08726500c8f297ea78714ac9d636b9ae70987 (diff) |
backend/wayland: Add registering multiple seats
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r-- | include/backend/wayland.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 65fe6bbc..20292625 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -39,7 +39,7 @@ struct wlr_wl_backend { struct wp_presentation *presentation; struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf_v1; struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1; - struct wlr_wl_seat *seat; + struct wl_list seats; // wlr_wl_seat.link struct wlr_wl_pointer *current_pointer; struct zwp_tablet_manager_v2 *tablet_manager; struct wlr_drm_format_set linux_dmabuf_v1_formats; @@ -109,6 +109,7 @@ struct wlr_wl_pointer { struct wlr_wl_seat { struct wl_seat *wl_seat; + struct wl_list link; // wlr_wl_backend.seats char *name; struct wl_touch *touch; struct wl_pointer *pointer; |