mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-04 06:00:35 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
A switch from BTN_TOOL_FINGER to BTN_TOOL_DOUBLETAP sets the former to 0, then the latter to 1, within the same frame. In the previous code we'd end the first touchpoint, then start two new ones immediately after when the DOUBLETAP comes in. This causes bug notices in the edge scrolling code and finger miscounts in the tapping code (since neither processes the change, there is no SYN_REPORT between the two). Only update the state bits when we get the events, handle the fake touch sequence start/end on SYN_REPORT instead. https://bugs.freedesktop.org/show_bug.cgi?id=89949 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| doc | ||
| include/linux | ||
| m4 | ||
| src | ||
| test | ||
| tools | ||
| udev | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| Makefile.am | ||
| README.txt | ||
/*!@mainpage libinput ======== libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect. Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc. libinput originates from weston, the Wayland reference compositor. The source code of libinput can be found at: http://cgit.freedesktop.org/wayland/libinput For more information, visit: http://www.freedesktop.org/wiki/Software/libinput/ Bugs can be filed in the libinput component of Wayland: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=libinput Online API documentation: http://wayland.freedesktop.org/libinput/doc/latest/modules.html */