[PATCH libinput] udev: use prop_value() to fetch the ID_INPUT_PROP property
Hans de Goede
hdegoede at redhat.com
Mon Aug 10 01:40:06 PDT 2015
Hi,
On 05-08-15 03:31, Peter Hutterer wrote:
> 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 at who-t.net>
LGTM: Reviewed-by: Hans de Goede <hdegoede at redhat.com>
Regards,
Hans
> ---
> udev/libinput-model-quirks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/udev/libinput-model-quirks.c b/udev/libinput-model-quirks.c
> index 0e737a4..67115fa 100644
> --- 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;
>
More information about the wayland-devel
mailing list