Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a new PanBackend for the gesture tracker #2095

Closed
wants to merge 9 commits into from

Conversation

leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Oct 16, 2024

This will allow exact finger tracking for touchscreen devices. Once used this will f*x #1272

Currently this isn't used anywhere but it prepares for handling all touchscreen gestures with this in order to achieve one to one finger tracking. In the long term with some coming mutter changes it will handle all gestures (touchpad as well) in order to remove the need of touchegg which currently only works because of xwayland.

This will also allow us to have much more precise gestures: e.g. swipe up from the bottom to reveal the dock one to one will be trivial to implement (PR incoming). It can also be used to do swipe in from corners to use hotcorners on touchscreen (another PR incoming :) ).

The ugly workaround with toucheggbackend.ignore_touchscreen can be removed once everything uses the new pan backend for touchscreen gestures by just ignoring all touchscreen events from touchegg.

TODO:

  • If the initial touch point lifts the percentage jumps which doesn't look good

@leolost2605 leolost2605 marked this pull request as draft October 16, 2024 15:38
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