projects
/
platform
/
upstream
/
xorg-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fdde2c
)
Xi: add a comment to make a condition a bit clearer
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 28 Feb 2013 00:43:05 +0000
(10:43 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 25 Mar 2013 00:34:24 +0000
(10:34 +1000)
The commit message to
676447190190d8546165e21be242cf16dd69f5ae
explains it,
but that doesn't stop the WTF moment when reading the code.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Xi/exevents.c
patch
|
blob
|
history
diff --git
a/Xi/exevents.c
b/Xi/exevents.c
index
05685a2
..
6779139
100644
(file)
--- a/
Xi/exevents.c
+++ b/
Xi/exevents.c
@@
-1898,6
+1898,7
@@
DeliverTouchEndEvent(DeviceIntPtr dev, TouchPointInfoPtr ti, InternalEvent *ev,
goto out;
}
+ /* A client is waiting for the begin, don't give it a TouchEnd */
if (listener->state == LISTENER_AWAITING_BEGIN) {
listener->state = LISTENER_HAS_END;
goto out;