From 7f0bb8f92ecd7c8bfb241512beecc87d5072fed9 Mon Sep 17 00:00:00 2001 From: Emanuele Aina Date: Tue, 20 Nov 2012 17:34:52 +0100 Subject: [PATCH] events: Use the correct union field when setting the stage on touch events --- clutter/clutter-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c index 46ae7d881..6692df132 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);