From 6df00917cab5c1096070625385fd76ee6c52e0f1 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 27 Sep 2009 23:00:59 -0700 Subject: [PATCH] XQuartz: Fix QuartzSetCursor to match the expected prototype. (cherry picked from commit dadab5a2279a19dcf709402d7f22f0cd48670db0) --- hw/xquartz/xpr/xprCursor.c | 4 ++-- 1 file 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); }