projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74236f1
)
udev: use prop_value() to fetch the ID_INPUT_PROP property
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 4 Aug 2015 21:37:03 +0000
(07:37 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 10 Aug 2015 21:49:42 +0000
(07:49 +1000)
This will thus work if the property is only set on a parent device, not on the
device directly.
https://github.com/systemd/systemd/issues/763
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
udev/libinput-model-quirks.c
patch
|
blob
|
history
diff --git
a/udev/libinput-model-quirks.c
b/udev/libinput-model-quirks.c
index 0e737a4bb3470d72797623418627c9ef7de5bc3d..67115faee7243b3628ece70c85a1c6e7deb6efda 100644
(file)
--- a/
udev/libinput-model-quirks.c
+++ b/
udev/libinput-model-quirks.c
@@
-127,7
+127,7
@@
int main(int argc, char **argv)
if (!device)
goto out;
- if (
udev_device_get_property
_value(device, "ID_INPUT_TOUCHPAD"))
+ if (
prop
_value(device, "ID_INPUT_TOUCHPAD"))
handle_touchpad(device);
rc = 0;