aboutsummaryrefslogtreecommitdiff
path: root/libX11
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-12-25 14:33:36 +0000
committermarha <marha@users.sourceforge.net>2010-12-25 14:33:36 +0000
commit311ab924cacb3353066bf25f23208a315ac06b9d (patch)
tree4562209dc2dba361da4eb3bb7bea923d892f1a48 /libX11
parent0412ee015982ea1ab7cbe353f20b24530d2d8048 (diff)
parentc6539c9f45372fb6518bff17a781effd654bd3f0 (diff)
downloadvcxsrv-311ab924cacb3353066bf25f23208a315ac06b9d.tar.gz
vcxsrv-311ab924cacb3353066bf25f23208a315ac06b9d.tar.bz2
vcxsrv-311ab924cacb3353066bf25f23208a315ac06b9d.zip
svn merge ^/branches/released .
Diffstat (limited to 'libX11')
-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;
}