From 930d3cb5cee31beff2b55c5ef5780148654f2eb5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 16:07:23 +0200 Subject: [PATCH] randr: unexport and document RRPointerScreenConfigured() Not usde by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- randr/randrstr.h | 3 --- randr/randrstr_priv.h | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 5b637e0d8..3c3f225f1 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -650,9 +650,6 @@ extern _X_EXPORT Bool extern _X_EXPORT void RROutputDestroy(RROutputPtr output); -extern _X_EXPORT void - RRPointerScreenConfigured(ScreenPtr pScreen); - /* rrproperty.c */ extern _X_EXPORT void diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 130b97b44..90e389a9f 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -363,4 +363,12 @@ Bool RROutputInit(void); */ void RROutputInitErrorValue(void); +/* + * When the screen is reconfigured, move all pointers to the nearest + * CRTC + * + * @param pScreen the screen that had been reconfigured + */ +void RRPointerScreenConfigured(ScreenPtr pScreen); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */