From b75173a283e2e1d76b02546e18d268f486b9df1e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 31 Aug 2025 12:24:29 -0700 Subject: [PATCH] Revert "dix: unexport PointerConfinedToScreen()" This reverts commit 9673886facfeb2fba127f8c8b54afe95a8320d9a. Part-of: --- dix/cursor_priv.h | 2 -- include/cursor.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dix/cursor_priv.h b/dix/cursor_priv.h index 82fb01144..21d0e9524 100644 --- a/dix/cursor_priv.h +++ b/dix/cursor_priv.h @@ -69,6 +69,4 @@ void NewCurrentScreen(DeviceIntPtr pDev, int x, int y); -Bool PointerConfinedToScreen(DeviceIntPtr pDev); - #endif /* _XSERVER_DIX_CURSOR_PRIV_H */ diff --git a/include/cursor.h b/include/cursor.h index 9186e3bf2..d1369d4c8 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -70,6 +70,9 @@ typedef struct _CursorMetric *CursorMetricPtr; extern _X_EXPORT int FreeCursor(void *pCurs, XID cid); +extern _X_EXPORT Bool PointerConfinedToScreen(struct _DeviceIntRec * /* pDev */ + ); + extern _X_EXPORT void GetSpritePosition(struct _DeviceIntRec * /* pDev */ , int * /*px */ , int * /*py */ );