From b8925e840d65c5b478c38accbad8845d948a0fb3 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Tue, 27 Feb 2018 13:11:17 +0800 Subject: [PATCH] measure-touch-size: Fix backward sizes Fix backward message printed: Touch sizes used: UP:DOWN should be: Touch sizes used: DOWN:UP https://bugs.freedesktop.org/show_bug.cgi?id=105264 --- tools/libinput-measure-touch-size | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libinput-measure-touch-size b/tools/libinput-measure-touch-size index b0080056..46beb154 100755 --- a/tools/libinput-measure-touch-size +++ b/tools/libinput-measure-touch-size @@ -224,7 +224,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: -- 2.15.1