summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_evdev.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:34:10 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:27:43 -0400
commit6e1a52fc7ddd8005e2ac31d2c0749f006ac401e3 (patch)
treeb7218b67060cf2db56b5540f76eb446867bd87b2 /src/lib/elput/elput_evdev.c
parentd725ae5a0a244fd758944fa9847130336477ed66 (diff)
elput: do not set TABLET_PAD to have POINTER caps
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index 81f1302f54..716f8ac29e 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -1582,7 +1582,7 @@ _evdev_device_create(Elput_Seat *seat, struct libinput_device *device)
1582 if (libinput_device_has_capability(device, LIBINPUT_DEVICE_CAP_TABLET_TOOL)) 1582 if (libinput_device_has_capability(device, LIBINPUT_DEVICE_CAP_TABLET_TOOL))
1583 edev->caps |= ELPUT_DEVICE_CAPS_POINTER | ELPUT_DEVICE_CAPS_TABLET_TOOL; 1583 edev->caps |= ELPUT_DEVICE_CAPS_POINTER | ELPUT_DEVICE_CAPS_TABLET_TOOL;
1584 if (libinput_device_has_capability(device, LIBINPUT_DEVICE_CAP_TABLET_PAD)) 1584 if (libinput_device_has_capability(device, LIBINPUT_DEVICE_CAP_TABLET_PAD))
1585 edev->caps |= ELPUT_DEVICE_CAPS_POINTER | ELPUT_DEVICE_CAPS_TABLET_PAD; 1585 edev->caps |= ELPUT_DEVICE_CAPS_TABLET_PAD;
1586 if (edev->caps & ELPUT_DEVICE_CAPS_POINTER) 1586 if (edev->caps & ELPUT_DEVICE_CAPS_POINTER)
1587 { 1587 {
1588 _pointer_init(seat); 1588 _pointer_init(seat);