diff options
Diffstat (limited to 'Xi/xiquerypointer.c')
-rw-r--r-- | Xi/xiquerypointer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c index da1d101cb..d51d383fe 100644 --- a/Xi/xiquerypointer.c +++ b/Xi/xiquerypointer.c @@ -83,7 +83,10 @@ ProcXIQueryPointer(ClientPtr client) rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixReadAccess); if (rc != Success) + { + client->errorValue = stuff->deviceid; return rc; + } if (pDev->valuator == NULL) { |