aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/ChkTypWEv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/ChkTypWEv.c')
-rw-r--r--libX11/src/ChkTypWEv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libX11/src/ChkTypWEv.c b/libX11/src/ChkTypWEv.c
index 84abd6dcc..b0429f084 100644
--- a/libX11/src/ChkTypWEv.c
+++ b/libX11/src/ChkTypWEv.c
@@ -59,6 +59,7 @@ Bool XCheckTypedWindowEvent (
(qelt->event.type == type)) {
*event = qelt->event;
_XDeq(dpy, prev, qelt);
+ _XStoreEventCookie(dpy, event);
UnlockDisplay(dpy);
return True;
}