Skip to content

TouchpadSwipeBackend: Fix multi dimension gesture - #2989

Open
leolost2605 wants to merge 1 commit into
mainfrom
leolost/fix-multi-dimension-gesture
Open

leolost2605 wants to merge 1 commit into
mainfrom
leolost/fix-multi-dimension-gesture

Conversation

@leolost2605

Copy link
Copy Markdown
Member

In 7e95118 we made sure that once one swipe backend handles a gesture no other backend can steal it. However unfortunately that also meant that grouped backends exit early.
So make sure we respect the handling flag only if we are the main handler. If we are not this means that another backend that's handling it is grouped with us and forwards us the same events so we are allowed to handle them even if another backend is already handling something.

Fixes opening the multitasking view and switching workspaces with the same gesture.

@leolost2605
leolost2605 requested a review from a team November 23, 2026 11:40
In 7e95118 we made
sure that once one swipe backend handles a gesture
no other backend can steal it. However unfortunately
that also meant that grouped backends exit early.
So make sure we respect the handling flag only if we are
the main handler. If we are not this means that another
backend that's handling it is grouped with us and forwards
us the same events so we are allowed to handle them
even if another backend is already handling something.

Fixes opening the multitasking view and switching workspaces
with the same gesture.
@leolost2605
leolost2605 force-pushed the leolost/fix-multi-dimension-gesture branch from d3f8cf6 to c1e866e Compare November 25, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant