Repository navigation
Rework grouped gesture controllers - #2953
Merged
Merged
Conversation
leolost2605
force-pushed
the
leolost/gesture-controller-group-with
branch
from
October 11, 2026 17:37
a2394f5 to
dc45b18
Compare
lenemter
requested changes
Oct 11, 2026
leolost2605
force-pushed
the
leolost/gesture-controller-group-with
branch
from
October 11, 2026 18:08
dc45b18 to
25a4fda
Compare
lenemter
approved these changes
Oct 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current solution was more of a intermediate solution that was very hacky and required hard coding possible groups and keeping static references to all TouchpadSwipeBackend instances. Rework this to scale a lot better and without needing hard coding.
This now does it how (the new) clutter gestures and how gtk gesture do it. I.e. we group gesture controllers with each other by calling
GestureController.group_with. This then propagates to all backends.The motivation for this rework is that we can easily add that to the TouchScreenSwipeBackend as well.