xfixes: switch a few inputInfo.pointer to PickPointer
This commit is contained in:
parent
37194b1355
commit
521fdc28d8
|
@ -355,7 +355,7 @@ ProcXFixesGetCursorImage (ClientPtr client)
|
||||||
pCursor, RT_NONE, NULL, DixReadAccess);
|
pCursor, RT_NONE, NULL, DixReadAccess);
|
||||||
if (rc != Success)
|
if (rc != Success)
|
||||||
return rc;
|
return rc;
|
||||||
GetSpritePosition (inputInfo.pointer, &x, &y);
|
GetSpritePosition (PickPointer(client), &x, &y);
|
||||||
width = pCursor->bits->width;
|
width = pCursor->bits->width;
|
||||||
height = pCursor->bits->height;
|
height = pCursor->bits->height;
|
||||||
npixels = width * height;
|
npixels = width * height;
|
||||||
|
@ -507,7 +507,7 @@ ProcXFixesGetCursorImageAndName (ClientPtr client)
|
||||||
pCursor, RT_NONE, NULL, DixReadAccess|DixGetAttrAccess);
|
pCursor, RT_NONE, NULL, DixReadAccess|DixGetAttrAccess);
|
||||||
if (rc != Success)
|
if (rc != Success)
|
||||||
return rc;
|
return rc;
|
||||||
GetSpritePosition (inputInfo.pointer, &x, &y);
|
GetSpritePosition (PickPointer(client), &x, &y);
|
||||||
width = pCursor->bits->width;
|
width = pCursor->bits->width;
|
||||||
height = pCursor->bits->height;
|
height = pCursor->bits->height;
|
||||||
npixels = width * height;
|
npixels = width * height;
|
||||||
|
@ -879,7 +879,7 @@ ProcXFixesHideCursor (ClientPtr client)
|
||||||
ret = createCursorHideCount(client, pWin->drawable.pScreen);
|
ret = createCursorHideCount(client, pWin->drawable.pScreen);
|
||||||
|
|
||||||
if (ret == Success) {
|
if (ret == Success) {
|
||||||
(void) CursorDisplayCursor(inputInfo.pointer, pWin->drawable.pScreen, CursorCurrent);
|
(void) CursorDisplayCursor(PickPointer(client), pWin->drawable.pScreen, CursorCurrent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user