summaryrefslogtreecommitdiff
path: root/gdk/wayland/gdkdevice-wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/wayland/gdkdevice-wayland.c')
-rw-r--r--gdk/wayland/gdkdevice-wayland.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 2446bddab3..1a0dbe0d74 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1394,6 +1394,8 @@ flush_discrete_scroll_event (GdkWaylandSeat *seat,
NULL,
seat->pointer_info.time,
device_get_modifiers (seat->logical_pointer),
+ seat->pointer_info.surface_x,
+ seat->pointer_info.surface_y,
direction,
TRUE);
@@ -1415,6 +1417,8 @@ flush_smooth_scroll_event (GdkWaylandSeat *seat,
NULL,
seat->pointer_info.time,
device_get_modifiers (seat->logical_pointer),
+ seat->pointer_info.surface_x,
+ seat->pointer_info.surface_y,
delta_x, delta_y,
is_stop,
GDK_SCROLL_UNIT_SURFACE);
@@ -3994,6 +3998,8 @@ tablet_tool_handle_wheel (void *data,
tablet->current_tool->tool,
tablet->pointer_info.time,
device_get_modifiers (tablet->logical_device),
+ tablet->pointer_info.surface_x,
+ tablet->pointer_info.surface_y,
0, clicks,
FALSE,
GDK_SCROLL_UNIT_WHEEL);
@@ -4006,6 +4012,8 @@ tablet_tool_handle_wheel (void *data,
tablet->current_tool->tool,
tablet->pointer_info.time,
device_get_modifiers (tablet->logical_device),
+ tablet->pointer_info.surface_x,
+ tablet->pointer_info.surface_y,
clicks > 0 ? GDK_SCROLL_DOWN : GDK_SCROLL_UP,
TRUE);