diff options
author | Adam Jackson <ajax@redhat.com> | 2016-06-20 12:57:12 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-08-16 15:56:24 -0400 |
commit | 5c69cb604a144bdced7d066eaca574aa44e8cb36 (patch) | |
tree | fa4b508eab930db0dff738df7b6e7ea4f2e54779 /Xi | |
parent | 2f981c06a5b9b9eab5e8a9b1d0a18281c0d1033f (diff) |
xinput: Let top-level dispatch generate the error
... instead of calling SendErrorToClient ourselves.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/xiquerypointer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c index b9e295815..c5b0ba7b6 100644 --- a/Xi/xiquerypointer.c +++ b/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) |