aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_relative_pointer_v1.h5
-rw-r--r--include/wlr/types/wlr_seat.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_relative_pointer_v1.h b/include/wlr/types/wlr_relative_pointer_v1.h
index 24b20003..1fd6e610 100644
--- a/include/wlr/types/wlr_relative_pointer_v1.h
+++ b/include/wlr/types/wlr_relative_pointer_v1.h
@@ -25,8 +25,9 @@
*/
struct wlr_relative_pointer_manager_v1 {
- struct wl_list resources;
struct wl_global *global;
+ struct wl_list resources;
+ struct wl_list relative_pointers;
struct {
struct wl_signal destroy;
@@ -52,7 +53,9 @@ struct wlr_relative_pointer_manager_v1 {
struct wlr_relative_pointer_v1 {
struct wl_resource *resource;
+ struct wlr_seat *seat;
struct wl_resource *pointer;
+ struct wl_list link; // wlr_relative_pointer_manager_v1::relative_pointers
struct {
struct wl_signal destroy;
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 9865ecdd..48c48d73 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -27,7 +27,6 @@ struct wlr_seat_client {
// lists of wl_resource
struct wl_list resources;
struct wl_list pointers;
- struct wl_list relative_pointers_v1;
struct wl_list keyboards;
struct wl_list touches;
struct wl_list data_devices;