mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 07:38:22 +02:00
Xi: add a comment to make a condition a bit clearer
The commit message to6764471901explains 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> (cherry picked from commit2967391c6d)
This commit is contained in:
parent
8e16c2e303
commit
bce06afc99
1 changed files with 1 additions and 0 deletions
|
|
@ -1896,6 +1896,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue