mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 16:20:03 +01:00
XQuartz: Fix QuartzSetCursor to match the expected prototype.
This commit is contained in:
parent
54000bdcbc
commit
dadab5a227
1 changed files with 2 additions and 2 deletions
|
|
@ -212,7 +212,7 @@ QuartzUnrealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
|
|||
* Set the cursor sprite and position.
|
||||
*/
|
||||
static void
|
||||
QuartzSetCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
|
||||
QuartzSetCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor, int x, int y)
|
||||
{
|
||||
QuartzCursorScreenPtr ScreenPriv = CURSOR_PRIV(pScreen);
|
||||
|
||||
|
|
@ -407,5 +407,5 @@ QuartzResumeXCursor(ScreenPtr pScreen)
|
|||
if (pCursor == NULL)
|
||||
return;
|
||||
|
||||
QuartzSetCursor(darwinPointer, pScreen, pCursor);
|
||||
QuartzSetCursor(darwinPointer, pScreen, pCursor, /* x */ 0, /* y */ 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue