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:31:41 -0700
commit6df00917cab5c1096070625385fd76ee6c52e0f1 (patch)
treeb9ced3f3d6b9a35ba4a7c4d92fd902c8b17af77e
parent67a51cd9ef60b4c9f25fdde84f9eb352936c8c67 (diff)
XQuartz: Fix QuartzSetCursor to match the expected prototype.
(cherry picked from commit dadab5a2279a19dcf709402d7f22f0cd48670db0)
-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);
}