xtest: switch an inputInfo.pointer over to PickPointer.
Couple of whitespace fixes too.
This commit is contained in:
parent
e5dd7a9579
commit
33f1568992
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user