aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorAlex Maese <memaese@hotmail.com>2018-12-13 23:41:21 -0600
committerAlex Maese <memaese@hotmail.com>2018-12-21 12:20:48 -0600
commit09bdbf24f4fc44cfbb9bd6079a1d7cd08edaefdb (patch)
tree2de113082300840930c7e89af5388e040199d29e /include/wlr
parentf4cf3c08865e39e88061c96e823b2893a68a433f (diff)
Removed relative pointers from wlr_seat
Diffstat (limited to 'include/wlr')
-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;