[clutter] events: process CLUTTER_TOUCH_CANCEL
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] events: process CLUTTER_TOUCH_CANCEL
- Date: Sun, 29 Jul 2012 13:08:20 +0000 (UTC)
commit db74b184db8c7d29e9c10ca5e6860c3822b45fb6
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Sat Jul 28 15:48:56 2012 +0200
events: process CLUTTER_TOUCH_CANCEL
These events might be emitted from the window manager/compositor, they
need to be transmitted to widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=680752
clutter/clutter-main.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
index 179db68..e9a56ee 100644
--- a/clutter/clutter-main.c
+++ b/clutter/clutter-main.c
@@ -2667,6 +2667,7 @@ _clutter_process_event_details (ClutterActor *stage,
/* fallthrough from motion */
case CLUTTER_TOUCH_BEGIN:
+ case CLUTTER_TOUCH_CANCEL:
case CLUTTER_TOUCH_END:
{
ClutterActor *actor;
@@ -2717,9 +2718,6 @@ _clutter_process_event_details (ClutterActor *stage,
break;
}
- case CLUTTER_TOUCH_CANCEL:
- break;
-
case CLUTTER_STAGE_STATE:
/* fullscreen / focus - forward to stage */
event->any.source = stage;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]