aboutsummaryrefslogtreecommitdiff
path: root/libX11/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-12-24 12:41:29 +0000
committermarha <marha@users.sourceforge.net>2010-12-24 12:41:29 +0000
commitc6539c9f45372fb6518bff17a781effd654bd3f0 (patch)
tree630e613884689bcab0809125ce0fbb72261b5335 /libX11/src
parent8fd06c45853cb2300105db84e4b722f0e2dad8d2 (diff)
downloadvcxsrv-c6539c9f45372fb6518bff17a781effd654bd3f0.tar.gz
vcxsrv-c6539c9f45372fb6518bff17a781effd654bd3f0.tar.bz2
vcxsrv-c6539c9f45372fb6518bff17a781effd654bd3f0.zip
xorg-server libx11 libxcb git update 24/12/2010
Diffstat (limited to 'libX11/src')
-rw-r--r--libX11/src/ChkTypEv.c1
-rw-r--r--libX11/src/ChkTypWEv.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libX11/src/ChkTypEv.c b/libX11/src/ChkTypEv.c
index ccc05edc0..498b29e19 100644
--- a/libX11/src/ChkTypEv.c
+++ b/libX11/src/ChkTypEv.c
@@ -57,6 +57,7 @@ Bool XCheckTypedEvent (
if (qelt->event.type == type) {
*event = qelt->event;
_XDeq(dpy, prev, qelt);
+ _XStoreEventCookie(dpy, event);
UnlockDisplay(dpy);
return True;
}
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;
}