summaryrefslogtreecommitdiff
path: root/clutter/x11/clutter-device-manager-xi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'clutter/x11/clutter-device-manager-xi2.c')
-rw-r--r--clutter/x11/clutter-device-manager-xi2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter/x11/clutter-device-manager-xi2.c b/clutter/x11/clutter-device-manager-xi2.c
index 5ac42c874..3356bd150 100644
--- a/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/x11/clutter-device-manager-xi2.c
@@ -1044,7 +1044,7 @@ clutter_device_manager_xi2_translate_event (ClutterEventTranslator *translator,
GINT_TO_POINTER (xev->deviceid));
clutter_event_set_device (event, device);
- event->touch.axes = translate_axes (event->motion.device,
+ event->touch.axes = translate_axes (event->touch.device,
event->motion.x,
event->motion.y,
stage_x11,
@@ -1097,7 +1097,7 @@ clutter_device_manager_xi2_translate_event (ClutterEventTranslator *translator,
GINT_TO_POINTER (xev->deviceid));
clutter_event_set_device (event, device);
- event->touch.axes = translate_axes (event->motion.device,
+ event->touch.axes = translate_axes (event->touch.device,
event->motion.x,
event->motion.y,
stage_x11,