mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 00:00:14 +01:00
tools: fix inverse up/down threshold handling in measure touch-size
https://bugs.freedesktop.org/show_bug.cgi?id=105264
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 5b29be3998)
This commit is contained in:
parent
70258657b0
commit
c5c6cc13be
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ class Device(object):
|
|||
ud = pyudev.Devices.from_device_file(context, self.path)
|
||||
v = ud.get('LIBINPUT_ATTR_TOUCH_SIZE_RANGE')
|
||||
if v:
|
||||
self.up, self.down = colon_tuple(v)
|
||||
self.down, self.up = colon_tuple(v)
|
||||
|
||||
v = ud.get('LIBINPUT_ATTR_PALM_SIZE_THRESHOLD')
|
||||
if v:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue