diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-21 09:44:37 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-24 10:07:01 +1000 |
commit | 58fd28f6b6bebab7f31c54e696f96d64ebb50f5a (patch) | |
tree | ec603e23a1d5c7cc00b0d3075335d8d392ed6622 /Xi | |
parent | b41dd4328bfb8a0981d299bb60f986a2bc55fd24 (diff) |
Xi: return deviceid as error value in XIQueryPointer.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
-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) { |