[clutter] events: Use the correct union field when setting the stage on touch events
- From: Emanuele Aina <emaaa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] events: Use the correct union field when setting the stage on touch events
- Date: Mon, 26 Nov 2012 12:30:06 +0000 (UTC)
commit 7f0bb8f92ecd7c8bfb241512beecc87d5072fed9
Author: Emanuele Aina <emanuele aina collabora com>
Date: Tue Nov 20 17:34:52 2012 +0100
events: Use the correct union field when setting the stage on touch events
clutter/clutter-main.c | 2 +-
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]