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:
f22edd8
)
evdev: Use touch ID 0 when generating touch up event
author
Rusty Lynch
<rusty.lynch@intel.com>
Fri, 9 Aug 2013 04:08:17 +0000
(21:08 -0700)
committer
Jonas Ådahl
<jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:33 +0000
(17:51 +0100)
device->mt.slot is uninitialized when we're not receiving the
evdev slot events. Always use ID 0 as we do when we generate the
touch down and motion events.
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index 342cb9baa03558789b29cf7cde6bad9c4d727e6b..2018e2ac72329bd37751d6e97978013318cd37de 100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-86,7
+86,7
@@
evdev_process_key(struct evdev_device *device, struct input_event *e, int time)
case BTN_TOUCH:
if (e->value == 0 && !device->is_mt)
- notify_touch(device->seat, time,
device->mt.slot
, 0, 0,
+ notify_touch(device->seat, time,
0
, 0, 0,
WL_TOUCH_UP);
break;
default: