Revert "mi: unexport miPointerWarpCursor()"

This reverts commit 6c04f94f3b.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2102>
This commit is contained in:
kohnish 2025-11-21 20:30:06 +01:00 committed by Alan Coopersmith
parent 02ea810b80
commit c4c7bd27db
8 changed files with 7 additions and 10 deletions

View file

@ -30,6 +30,7 @@
#include "mi/mipointer_priv.h"
#include "os/client_priv.h"
#include "os/osdep.h"
#include "ephyr.h"
#include "inputstr.h"

View file

@ -39,7 +39,6 @@ from The Open Group.
#include "dix/colormap_priv.h"
#include "dix/dix_priv.h"
#include "dix/screenint_priv.h"
#include "mi/mipointer_priv.h"
#include "os/cmdline.h"
#include "os/osdep.h"

View file

@ -34,7 +34,6 @@
#include <X11/extensions/XIproto.h>
#include "dix/input_priv.h"
#include "mi/mipointer_priv.h"
#include "cursor.h"
#include "mipointer.h"

View file

@ -19,7 +19,6 @@ is" without express or implied warranty.
#include "mi/mi.h"
#include "mi/mi_priv.h"
#include "mi/mipointer_priv.h"
#include "scrnintstr.h"
#include "dix.h"

View file

@ -38,8 +38,6 @@
#include "darwinEvents.h"
#include <Xplugin.h>
#include "mi/mipointer_priv.h"
#include "mi.h"
#include "scrnintstr.h"
#include "cursorstr.h"

View file

@ -36,9 +36,6 @@
#endif
#include "win.h"
#include "winmsg.h"
#include "mi/mipointer_priv.h"
#include <cursorstr.h>
#include <mipointrst.h>
#include <servermd.h>

View file

@ -77,6 +77,12 @@ extern _X_EXPORT Bool miDCInitialize(ScreenPtr /*pScreen */ ,
miPointerScreenFuncPtr /*screenFuncs */
);
extern _X_EXPORT void miPointerWarpCursor(DeviceIntPtr /*pDev */ ,
ScreenPtr /*pScreen */ ,
int /*x */ ,
int /*y */
);
extern _X_EXPORT ScreenPtr
miPointerGetScreen(DeviceIntPtr pDev);

View file

@ -8,10 +8,8 @@
#include <X11/Xdefs.h>
#include "dix/screenint_priv.h"
#include "include/input.h"
#include "mi/mipointer.h"
void miPointerWarpCursor(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y);
void miPointerSetScreen(DeviceIntPtr pDev, int screen_num, int x, int y);
void miPointerUpdateSprite(DeviceIntPtr pDev);