From 0124a7c37034e009813bbca54784e1b4b3e6c281 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 23 May 2025 16:44:03 +0200 Subject: [PATCH] dix: unexport and document ScreenRestructured() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/dix_priv.h | 8 ++++++++ include/dix.h | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dix/dix_priv.h b/dix/dix_priv.h index a5339c0a6..f59922374 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -527,4 +527,12 @@ void WindowHasNewCursor(WindowPtr pWin) */ void WindowsRestructured(void); +/* + * @brief do post actions necessary whn screens have been restructured + * + * currently eg. fixing up cursors and their confinements (randr) + */ +void ScreenRestructured(ScreenPtr pScreen) + _X_ATTRIBUTE_NONNULL_ARG(1); + #endif /* _XSERVER_DIX_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 646dbd409..e1750313f 100644 --- a/include/dix.h +++ b/include/dix.h @@ -270,11 +270,6 @@ PickPointer(ClientPtr /* client */ ); extern _X_EXPORT DeviceIntPtr PickKeyboard(ClientPtr /* client */ ); -#ifdef RANDR -extern _X_EXPORT void -ScreenRestructured(ScreenPtr pScreen); -#endif - /* * ServerGrabCallback stuff */