diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 76459f8b42..314e31db25 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -3416,7 +3416,7 @@ _gtk_widget_emulate_press (GtkWidget *widget, press->button.axes = g_memdup (event->motion.axes, sizeof (gdouble) * - gdk_device_get_n_axes (event->motion.device)); + gdk_device_get_n_axes (event->any.device)); if (event->motion.state & GDK_BUTTON3_MASK) press->button.button = 3; |