Xi: correct length field for XIQueryPointer reply.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -119,7 +119,7 @@ ProcXIQueryPointer(ClientPtr client)
|
|||||||
memset(&rep, 0, sizeof(rep));
|
memset(&rep, 0, sizeof(rep));
|
||||||
rep.repType = X_Reply;
|
rep.repType = X_Reply;
|
||||||
rep.RepType = X_XIQueryPointer;
|
rep.RepType = X_XIQueryPointer;
|
||||||
rep.length = 5;
|
rep.length = 6;
|
||||||
rep.sequenceNumber = client->sequence;
|
rep.sequenceNumber = client->sequence;
|
||||||
rep.root = (GetCurrentRootWindow(pDev))->drawable.id;
|
rep.root = (GetCurrentRootWindow(pDev))->drawable.id;
|
||||||
rep.root_x = FP1616(pSprite->hot.x, 0);
|
rep.root_x = FP1616(pSprite->hot.x, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user