projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c9cea0
)
event: Fix copying touch events
author
Bastien Nocera
<hadess@hadess.net>
Thu, 3 May 2012 16:56:45 +0000
(18:56 +0200)
committer
Bastien Nocera
<hadess@hadess.net>
Thu, 3 May 2012 17:32:07 +0000
(19:32 +0200)
We were trying to copy motion axes instead of touch ones.
https://bugzilla.gnome.org/show_bug.cgi?id=675371
clutter/clutter-event.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-event.c
b/clutter/clutter-event.c
index
92c0d87
..
f964707
100644
(file)
--- a/
clutter/clutter-event.c
+++ b/
clutter/clutter-event.c
@@
-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;