summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 23:00:59 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 23:00:59 -0700
commitdadab5a2279a19dcf709402d7f22f0cd48670db0 (patch)
treeb70eac139b7d04495a48c2c2b64128b090da9bdb
parent54000bdcbca52a2de31f7c1a1147de6d8e9dbbb8 (diff)
XQuartz: Fix QuartzSetCursor to match the expected prototype.
-rw-r--r--hw/xquartz/xpr/xprCursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xquartz/xpr/xprCursor.c b/hw/xquartz/xpr/xprCursor.c
index 84291a938..b577fc099 100644
--- a/hw/xquartz/xpr/xprCursor.c
+++ b/hw/xquartz/xpr/xprCursor.c
@@ -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);
}