xtest: switch an inputInfo.pointer over to PickPointer.

Couple of whitespace fixes too.
This commit is contained in:
Peter Hutterer 2007-11-21 16:06:44 +10:30
parent e5dd7a9579
commit 33f1568992

View File

@ -140,6 +140,7 @@ ProcXTestCompareCursor(client)
WindowPtr pWin;
CursorPtr pCursor;
int n, rc;
DeviceIntPtr pointer = PickPointer(client);
REQUEST_SIZE_MATCH(xXTestCompareCursorReq);
rc = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
@ -148,7 +149,7 @@ ProcXTestCompareCursor(client)
if (stuff->cursor == None)
pCursor = NullCursor;
else if (stuff->cursor == XTestCurrentCursor)
pCursor = GetSpriteCursor(inputInfo.pointer);
pCursor = GetSpriteCursor(pointer);
else {
pCursor = (CursorPtr)LookupIDByType(stuff->cursor, RT_CURSOR);
if (!pCursor)