mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 10:30:02 +01:00
xfixes: switch a few inputInfo.pointer to PickPointer
This commit is contained in:
parent
37194b1355
commit
521fdc28d8
1 changed files with 3 additions and 3 deletions
|
|
@ -355,7 +355,7 @@ ProcXFixesGetCursorImage (ClientPtr client)
|
|||
pCursor, RT_NONE, NULL, DixReadAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
GetSpritePosition (inputInfo.pointer, &x, &y);
|
||||
GetSpritePosition (PickPointer(client), &x, &y);
|
||||
width = pCursor->bits->width;
|
||||
height = pCursor->bits->height;
|
||||
npixels = width * height;
|
||||
|
|
@ -507,7 +507,7 @@ ProcXFixesGetCursorImageAndName (ClientPtr client)
|
|||
pCursor, RT_NONE, NULL, DixReadAccess|DixGetAttrAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
GetSpritePosition (inputInfo.pointer, &x, &y);
|
||||
GetSpritePosition (PickPointer(client), &x, &y);
|
||||
width = pCursor->bits->width;
|
||||
height = pCursor->bits->height;
|
||||
npixels = width * height;
|
||||
|
|
@ -879,7 +879,7 @@ ProcXFixesHideCursor (ClientPtr client)
|
|||
ret = createCursorHideCount(client, pWin->drawable.pScreen);
|
||||
|
||||
if (ret == Success) {
|
||||
(void) CursorDisplayCursor(inputInfo.pointer, pWin->drawable.pScreen, CursorCurrent);
|
||||
(void) CursorDisplayCursor(PickPointer(client), pWin->drawable.pScreen, CursorCurrent);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue