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:
Ulrich Sibiller 2022-11-30 23:47:29 +01:00 committed by Alan Coopersmith
parent 70eaf1174e
commit ba09596734

View file

@ -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;
}