event: Fix copying touch events
We were trying to copy motion axes instead of touch ones. https://bugzilla.gnome.org/show_bug.cgi?id=675371
This commit is contained in:
parent
3c9cea09dc
commit
217ff7c8fb
1 changed files with 1 additions and 1 deletions
|
@ -1174,7 +1174,7 @@ clutter_event_copy (const ClutterEvent *event)
|
|||
case CLUTTER_TOUCH_END:
|
||||
case CLUTTER_TOUCH_CANCEL:
|
||||
if (event->touch.axes != NULL)
|
||||
new_event->touch.axes = g_memdup (event->motion.axes,
|
||||
new_event->touch.axes = g_memdup (event->touch.axes,
|
||||
sizeof (gdouble) * n_axes);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue