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:
849b80a
)
evdev: Don't report touch devices with buttons as actual touch devices
author
Jonas Ådahl
<jadahl@gmail.com>
Mon, 27 Jan 2014 22:27:16 +0000
(23:27 +0100)
committer
Jonas Ådahl
<jadahl@gmail.com>
Mon, 27 Jan 2014 22:35:11 +0000
(23:35 +0100)
This was a detail of the original version of the commit "evdev: Remove
EVDEV_TOUCH and with it evdev_device->caps" that got lost during porting.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index be0247b956b82aabc998b9912505c14a001d0241..05144f1c7d64034836720c06dedc99762441b91c 100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-586,7
+586,7
@@
evdev_configure_device(struct evdev_device *device)
device->seat_caps |= EVDEV_DEVICE_POINTER;
if (has_keyboard)
device->seat_caps |= EVDEV_DEVICE_KEYBOARD;
- if (has_touch)
+ if (has_touch
&& !has_button
)
device->seat_caps |= EVDEV_DEVICE_TOUCH;
return 0;