mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 07:34:09 +00:00
57c31a56f4
XInput 2.3 adds support for "barrier events", which let us know when a pointer barrier has been hit, and when the pointer has stopped hitting the barrier, and lets us "release" the barrier, temporarily letting the pointer pass through the barrier. These features can be combined to allow for certain pointer gestures, such as "pushing" against the bottom of the screen, or stopping the pointer on monitor edges while dragging slowly for increased edge precision. This commit should allow graceful fallback if servers with XInput 2.3 aren't supported. https://bugzilla.gnome.org/show_bug.cgi?id=677215