This prevents the creation of a touch in case no multitouch event came before the very first EV_SYN.
Signed-off-by: Benjamin Tissoires <benjamin.tissoi...@gmail.com> --- src/evdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/evdev.c b/src/evdev.c index 619bce6..27b0e76 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -2493,6 +2493,7 @@ EvdevPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags) #ifdef MULTITOUCH pEvdev->cur_slot = -1; + pEvdev->slot_state = SLOTSTATE_EMPTY; #endif /* -- 1.8.0.2 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel