diff --git a/src/core/meta-gesture-tracker.c b/src/core/meta-gesture-tracker.c index 2badf8b82..33ee834e3 100644 --- a/src/core/meta-gesture-tracker.c +++ b/src/core/meta-gesture-tracker.c @@ -227,6 +227,7 @@ static gboolean state_is_applicable (MetaSequenceState prev_state, MetaSequenceState state) { + /* PENDING_END state is final */ if (prev_state == META_SEQUENCE_PENDING_END) return FALSE; @@ -234,10 +235,6 @@ state_is_applicable (MetaSequenceState prev_state, if (state == META_SEQUENCE_NONE) return FALSE; - /* PENDING_END state is final */ - if (prev_state == META_SEQUENCE_PENDING_END) - return FALSE; - /* Sequences must be accepted/denied before PENDING_END */ if (prev_state == META_SEQUENCE_NONE && state == META_SEQUENCE_PENDING_END)