From 3b67cd26149eb991b5f015061a818af65369e668 Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Thu, 7 Jun 2012 14:12:06 -0700 Subject: End physically active touches when device is disabled Otherwise: * We can't end the touches while device is disabled * New touches after enabling the device may erroneously be mapped to old logical touches Signed-off-by: Chase Douglas Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- include/input.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/input.h b/include/input.h index 5747f3cd2..f8459b8c8 100644 --- a/include/input.h +++ b/include/input.h @@ -579,6 +579,7 @@ extern int TouchListenerAcceptReject(DeviceIntPtr dev, TouchPointInfoPtr ti, int listener, int mode); extern int TouchAcceptReject(ClientPtr client, DeviceIntPtr dev, int mode, uint32_t touchid, Window grab_window, XID *error); +extern void TouchEndPhysicallyActiveTouches(DeviceIntPtr dev); /* misc event helpers */ extern Mask GetEventMask(DeviceIntPtr dev, xEvent *ev, InputClientsPtr clients); -- cgit v1.2.3