From db74b184db8c7d29e9c10ca5e6860c3822b45fb6 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sat, 28 Jul 2012 15:48:56 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c index 179db685d..e9a56eeae 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;