events: Use the correct union field when setting the stage on touch events

This commit is contained in:
Emanuele Aina 2012-11-20 17:34:52 +01:00
parent da498fdb9a
commit 7f0bb8f92e

View File

@ -2711,7 +2711,7 @@ _clutter_process_event_details (ClutterActor *stage,
event->type == CLUTTER_TOUCH_CANCEL ? "Touch cancel" : event->type == CLUTTER_TOUCH_CANCEL ? "Touch cancel" :
"?", x, y); "?", x, y);
event->button.source = stage; event->touch.source = stage;
emit_touch_event (event, device); emit_touch_event (event, device);