aboutsummaryrefslogtreecommitdiff
path: root/libX11
diff options
context:
space:
mode:
Diffstat (limited to 'libX11')
-rw-r--r--libX11/src/GetProp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/GetProp.c b/libX11/src/GetProp.c
index 9eb422ee3..88ec282ca 100644
--- a/libX11/src/GetProp.c
+++ b/libX11/src/GetProp.c
@@ -64,7 +64,7 @@ XGetWindowProperty(
req->delete = delete;
req->longOffset = offset;
req->longLength = length;
- error.sequenceNumber = dpy->request;
+ error.sequenceNumber = (CARD16)(dpy->request&0xffff);
if (!_XReply (dpy, (xReply *) &reply, 0, xFalse)) {
UnlockDisplay(dpy);