Revert "mi: make miRecolorCursor() static"

This reverts commit 6dbb957922.
This commit is contained in:
kohnish 2025-11-18 21:40:43 +01:00
parent 859e4282d4
commit 5bd03e1824
5 changed files with 11 additions and 7 deletions

View file

@ -41,7 +41,6 @@
#include <X11/extensions/XKBproto.h> #include <X11/extensions/XKBproto.h>
#include "dix/input_priv.h" #include "dix/input_priv.h"
#include "mi/mi_priv.h"
#include "misc.h" #include "misc.h"
#include "resource.h" #include "resource.h"

View file

@ -17,6 +17,7 @@ is" without express or implied warranty.
#include <X11/Xdefs.h> #include <X11/Xdefs.h>
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include "mi/mi.h"
#include "mi/mi_priv.h" #include "mi/mi_priv.h"
#include "mi/mipointer_priv.h" #include "mi/mipointer_priv.h"

View file

@ -113,6 +113,14 @@ miDoCopy(DrawablePtr pSrcDrawable,
int xOut, int xOut,
int yOut, miCopyProc copyProc, Pixel bitplane, void *closure); int yOut, miCopyProc copyProc, Pixel bitplane, void *closure);
/* micursor.c */
extern _X_EXPORT void miRecolorCursor(DeviceIntPtr /* pDev */ ,
ScreenPtr /*pScr */ ,
CursorPtr /*pCurs */ ,
Bool /*displayed */
);
/* midash.c */ /* midash.c */
extern _X_EXPORT void miStepDash(int /*dist */ , extern _X_EXPORT void miStepDash(int /*dist */ ,

View file

@ -33,7 +33,7 @@
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include "dix/colormap_priv.h" #include "dix/colormap_priv.h"
#include "os/osdep.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "colormapst.h" #include "colormapst.h"
#include "resource.h" #include "resource.h"

View file

@ -115,10 +115,6 @@ static void miPointerMoveNoEvent(DeviceIntPtr pDev, ScreenPtr pScreen, int x,
static InternalEvent *mipointermove_events; /* for WarpPointer MotionNotifies */ static InternalEvent *mipointermove_events; /* for WarpPointer MotionNotifies */
static void
miRecolorCursor(DeviceIntPtr pDev, ScreenPtr pScr,
CursorPtr pCurs, Bool displayed);
Bool Bool
miPointerInitialize(ScreenPtr pScreen, miPointerInitialize(ScreenPtr pScreen,
miPointerSpriteFuncPtr spriteFuncs, miPointerSpriteFuncPtr spriteFuncs,
@ -299,7 +295,7 @@ miPointerSetCursorPosition(DeviceIntPtr pDev, ScreenPtr pScreen,
return TRUE; return TRUE;
} }
static void void
miRecolorCursor(DeviceIntPtr pDev, ScreenPtr pScr, miRecolorCursor(DeviceIntPtr pDev, ScreenPtr pScr,
CursorPtr pCurs, Bool displayed) CursorPtr pCurs, Bool displayed)
{ {