summaryrefslogtreecommitdiff
path: root/hw/xwayland/xwayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwayland/xwayland.h')
-rw-r--r--hw/xwayland/xwayland.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/xwayland/xwayland.h b/hw/xwayland/xwayland.h
index 4d5de76ec..e07b850c9 100644
--- a/hw/xwayland/xwayland.h
+++ b/hw/xwayland/xwayland.h
@@ -126,6 +126,7 @@ struct xwl_seat {
struct xwl_screen *xwl_screen;
struct wl_seat *seat;
struct wl_pointer *wl_pointer;
+ struct zwp_relative_pointer_v1 *wp_relative_pointer;
struct wl_keyboard *wl_keyboard;
struct wl_touch *wl_touch;
struct wl_array keys;
@@ -151,6 +152,12 @@ struct xwl_seat {
Bool has_absolute;
wl_fixed_t x;
wl_fixed_t y;
+
+ Bool has_relative;
+ double dx;
+ double dy;
+ double dx_unaccel;
+ double dy_unaccel;
} pending_pointer_event;
};