diff --git a/src/core/events.c b/src/core/events.c index 55c8b86cc..1767dded3 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -365,7 +365,8 @@ meta_display_handle_event (MetaDisplay *display, if (meta_gesture_tracker_handle_event (gesture_tracker, event)) { - bypass_wayland = bypass_clutter = TRUE; + bypass_wayland = TRUE; + bypass_clutter = FALSE; goto out; } diff --git a/src/core/meta-gesture-tracker.c b/src/core/meta-gesture-tracker.c index 2bb07c3ce..f05c09000 100644 --- a/src/core/meta-gesture-tracker.c +++ b/src/core/meta-gesture-tracker.c @@ -502,25 +502,8 @@ meta_gesture_tracker_handle_event (MetaGestureTracker *tracker, break; } - /* As soon as a sequence is accepted, we replay it to - * the stage as a captured event, and make sure it's never - * propagated anywhere else. Since ClutterGestureAction does - * all its event handling from a captured-event handler on - * the stage, this effectively acts as a "sequence grab" on - * gesture actions. - * - * Sequences that aren't (yet or never) in an accepted state - * will go through, these events will get processed through - * the compositor, and eventually through clutter, still - * triggering the gestures capturing events on the stage, and - * possibly resulting in MetaSequenceState changes. - */ if (state == META_SEQUENCE_ACCEPTED) - { - clutter_actor_event (CLUTTER_ACTOR (clutter_event_get_stage (event)), - event, TRUE); - return TRUE; - } + return TRUE; return FALSE; }