[gtk/readonly-events-1] wayland: Fix a release build warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1] wayland: Fix a release build warning
- Date: Tue, 18 Feb 2020 05:59:17 +0000 (UTC)
commit b3d82c73f0cf3609caeafb0a5b7260370a7283ea
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 18 00:40:48 2020 -0500
wayland: Fix a release build warning
gdk/wayland/gdkdevice-wayland.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index bdaae4cd0f..72fc22d75e 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -3518,13 +3518,12 @@ tablet_tool_handle_motion (void *data,
{
GdkWaylandTabletToolData *tool = data;
GdkWaylandTabletData *tablet = tool->current_tablet;
- GdkWaylandSeat *seat = GDK_WAYLAND_SEAT (tool->seat);
GdkEvent *event;
tablet->pointer_info.surface_x = wl_fixed_to_double (sx);
tablet->pointer_info.surface_y = wl_fixed_to_double (sy);
- GDK_SEAT_NOTE (seat, EVENTS,
+ GDK_SEAT_NOTE (tool->seat, EVENTS,
g_message ("tablet motion %f %f",
tablet->pointer_info.surface_x,
tablet->pointer_info.surface_y));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]