summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Aina <emanuele.aina@collabora.com>2012-11-20 16:34:52 (GMT)
committerEmanuele Aina <emanuele.aina@collabora.com>2012-11-26 12:29:36 (GMT)
commit7f0bb8f92ecd7c8bfb241512beecc87d5072fed9 (patch)
tree64198f2309827a8ffea89a169ef14660620efc55
parentda498fdb9a0b9769ee0180a84aac431025692f80 (diff)
downloadclutter-7f0bb8f92ecd7c8bfb241512beecc87d5072fed9.tar.gz
clutter-7f0bb8f92ecd7c8bfb241512beecc87d5072fed9.tar.xz
events: Use the correct union field when setting the stage on touch events
-rw-r--r--clutter/clutter-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
index 46ae7d8..6692df1 100644
--- a/clutter/clutter-main.c
+++ b/clutter/clutter-main.c
@@ -2711,7 +2711,7 @@ _clutter_process_event_details (ClutterActor *stage,
event->type == CLUTTER_TOUCH_CANCEL ? "Touch cancel" :
"?", x, y);
- event->button.source = stage;
+ event->touch.source = stage;
emit_touch_event (event, device);