mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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
@ -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 New Issue
Block a user