From 285c88018ba4b3819500027c9b6a05b8c27ff2ee Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 21 Aug 2009 11:38:42 +1000 Subject: [PATCH] Xi: correct length field for XIQueryPointer reply. Signed-off-by: Peter Hutterer --- Xi/xiquerypointer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c index 81ba13d33..93ceba4c3 100644 --- a/Xi/xiquerypointer.c +++ b/Xi/xiquerypointer.c @@ -119,7 +119,7 @@ ProcXIQueryPointer(ClientPtr client) memset(&rep, 0, sizeof(rep)); rep.repType = X_Reply; rep.RepType = X_XIQueryPointer; - rep.length = 5; + rep.length = 6; rep.sequenceNumber = client->sequence; rep.root = (GetCurrentRootWindow(pDev))->drawable.id; rep.root_x = FP1616(pSprite->hot.x, 0);