Skip to content

Xorg: Swipe + Pinch Gestures

Nekobit requested to merge nekobit/kwin:master into master

This is a (temporary) implementation for gestures, which are well seen in the Wayland session. It is done because Wayland still has issues on certain devices, specifically my own.

Bare in mind that it appears that the Xorg components need a refactor for the new InputDevice class, which use a class instead of a plain QObject. So I consider this a "hack" just to get Swipe gestures working.

Bugs:

  • GTK applications (possibly others?) seem to eat Gesture inputs, I'm at a stump for this one as it's late
  • Pinches do not work, but events are recognized and run-through. Results from XInput2 structs seem large but correct, but I'm not all too familiar with the API or the results that work under the hood are expecting.

I would appreciate any help on these issues.

Edited by Nekobit

Merge request reports