mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 16:50:06 +01:00
Increase pinch grace period to 300ms
Windows allows "about a third of a second" to trigger a two-finger pinch. https://gitlab.freedesktop.org/libinput/libinput/-/issues/550#implementation-in-other-systems Signed-off-by: novenary <streetwalkermc@gmail.com>
This commit is contained in:
parent
ca3df8a076
commit
c4ea48eda6
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#define DEFAULT_GESTURE_SWITCH_TIMEOUT ms2us(100)
|
||||
#define DEFAULT_GESTURE_SWIPE_TIMEOUT ms2us(150)
|
||||
#define DEFAULT_GESTURE_PINCH_TIMEOUT ms2us(150)
|
||||
#define DEFAULT_GESTURE_PINCH_TIMEOUT ms2us(300)
|
||||
|
||||
#define PINCH_DISAMBIGUATION_MOVE_THRESHOLD 1.5 /* mm */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue