diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2022-11-30 23:47:29 +0100 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-01 14:54:12 -0800 |
commit | ba095967349dff583bd0989d0ba78aa334e9bedf (patch) | |
tree | 10f0f21bd5c90abf098b746325e41b85996a84ae | |
parent | 70eaf1174e2809d1a6c43868d53f8cd844ef636a (diff) | |
download | xorg-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.c | 2 |
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; } |