Commit 7b6bd641 authored by Peter Hutterer's avatar Peter Hutterer

touchpad: move CAP_GESTURE assignment to the touchpad code

That's where we set the pointer cap too.
No functional changes.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 2dd1b3ea
......@@ -1918,6 +1918,7 @@ tp_init(struct tp_dispatch *tp,
return -1;
device->seat_caps |= EVDEV_DEVICE_POINTER;
device->seat_caps |= EVDEV_DEVICE_GESTURE;
return 0;
}
......
......@@ -1950,7 +1950,6 @@ evdev_configure_device(struct evdev_device *device)
if (udev_tags & EVDEV_UDEV_TAG_TOUCHPAD) {
device->dispatch = evdev_mt_touchpad_create(device);
device->seat_caps |= EVDEV_DEVICE_GESTURE;
log_info(libinput,
"input device '%s', %s is a touchpad\n",
device->devname, devnode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment