summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2022-11-30 23:47:29 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-01 14:54:12 -0800
commitba095967349dff583bd0989d0ba78aa334e9bedf (patch)
tree10f0f21bd5c90abf098b746325e41b85996a84ae
parent70eaf1174e2809d1a6c43868d53f8cd844ef636a (diff)
downloadxorg-lib-libX11-ba095967349dff583bd0989d0ba78aa334e9bedf.tar.gz
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>
-rw-r--r--src/ChkIfEv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChkIfEv.c b/src/ChkIfEv.c
index eba36941..b32c2d3e 100644
--- a/src/ChkIfEv.c
+++ b/src/ChkIfEv.c
@@ -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;
}