-
Peter Hutterer authored
We used to completely ignore a finger that was within the top software button area and then moved to the main area and remained there for a timeout. This avoids erroneous pointer movements when the user moves the finger while using the trackpoint. But we also ignored physical clicks, something we should not be doing. This patch fixes that behavior: we still ignore the finger for movement, but a physical click now triggers a left click once we've been in the area for the timeout. This new behavior doesn't apply within the timeout, i.e. if a finger is in the right top button area, moves out and immediately clicks, we still trigger a right click. This avoids erroneous switches to left-clicks when the finger is at the edge of the button area and moves out during the press. Related to: https://bugs.freedesktop.org/show_bug.cgi?id=99212 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
d698de6e