From ba095967349dff583bd0989d0ba78aa334e9bedf Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 30 Nov 2022 23:47:29 +0100 Subject: ChkIfEv.c: fix wrong handling of dpy->in_ifevent Is no longer a bool but a counter. Signed-off-by: Ulrich Sibiller --- src/ChkIfEv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.1