mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 09:20:02 +01:00
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>
This commit is contained in:
parent
2f981c06a5
commit
5c69cb604a
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue