Revert "udev: only change the fuzz on touchpads and touchscreens"
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 26 Jun 2019 01:19:23 +0000 (11:19 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 26 Jun 2019 01:21:58 +0000 (11:21 +1000)
This causes a regression - the ID_INPUT_* properties are not available through
libudev within a callout, the device we get here basically has no properties.

Reverts !231

This reverts commit 410b157e8487191a32acf5b3bf3811d40e96dac7.

udev/libinput-model-quirks.c

index 10de335..bb05886 100644 (file)
@@ -110,9 +110,7 @@ int main(int argc, char **argv)
        if (!device)
                goto out;
 
-       if (udev_device_get_property_value(device, "ID_INPUT_TOUCHPAD") ||
-           udev_device_get_property_value(device, "ID_INPUT_TOUCHSCREEN"))
-               handle_absfuzz(device);
+       handle_absfuzz(device);
 
        rc = 0;