mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 09:48:04 +02:00
ChkIfEv.c: fix wrong handling of dpy->in_ifevent
Is no longer a bool but a counter. Signed-off-by: Ulrich Sibiller <uli42@gmx.de>
This commit is contained in:
parent
70eaf1174e
commit
ba09596734
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ Bool XCheckIfEvent (
|
|||
*event = qelt->event;
|
||||
_XDeq(dpy, prev, qelt);
|
||||
_XStoreEventCookie(dpy, event);
|
||||
dpy->in_ifevent = False;
|
||||
dpy->in_ifevent--;
|
||||
UnlockDisplay(dpy);
|
||||
return True;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue