summaryrefslogtreecommitdiff
path: root/xserver/Xi/xiquerypointer.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2017-12-08 15:02:03 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2017-12-08 15:02:03 +0000
commite2e6e25be1cbd7ecc45bbd9130c4527f7715e547 (patch)
tree85e40fcfbc819cb0394346c69db478a22e9ed122 /xserver/Xi/xiquerypointer.c
parent63d0911c1d9f1be4f8755144bced468fcbc398a6 (diff)
Update to xserver 1.19.5.
Tested by bru@, jsg@ and others
Diffstat (limited to 'xserver/Xi/xiquerypointer.c')
-rw-r--r--xserver/Xi/xiquerypointer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver/Xi/xiquerypointer.c b/xserver/Xi/xiquerypointer.c
index b9e295815..c5b0ba7b6 100644
--- a/xserver/Xi/xiquerypointer.c
+++ b/xserver/Xi/xiquerypointer.c
@@ -110,8 +110,8 @@ ProcXIQueryPointer(ClientPtr client)
rc = dixLookupWindow(&pWin, stuff->win, client, DixGetAttrAccess);
if (rc != Success) {
- SendErrorToClient(client, IReqCode, X_XIQueryPointer, stuff->win, rc);
- return Success;
+ client->errorValue = stuff->win;
+ return rc;
}
if (pDev->valuator->motionHintWindow)