mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-03-22 05:40:41 +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);
|
rc = dixLookupWindow(&pWin, stuff->win, client, DixGetAttrAccess);
|
||||||
if (rc != Success) {
|
if (rc != Success) {
|
||||||
SendErrorToClient(client, IReqCode, X_XIQueryPointer, stuff->win, rc);
|
client->errorValue = stuff->win;
|
||||||
return Success;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pDev->valuator->motionHintWindow)
|
if (pDev->valuator->motionHintWindow)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue