From e39070b448f61e1513c01f897d661e7f95dcb9a6 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 15:59:20 +0200 Subject: [PATCH] randr: unexport and document RRDeliverOutputEvent() Not used 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 | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index b92ad2b37..87eb86d27 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -647,9 +647,6 @@ extern _X_EXPORT Bool extern _X_EXPORT Bool RROutputSetPhysicalSize(RROutputPtr output, int mmWidth, int mmHeight); -extern _X_EXPORT void - RRDeliverOutputEvent(ClientPtr client, WindowPtr pWin, RROutputPtr output); - extern _X_EXPORT void RROutputDestroy(RROutputPtr output); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 16efc9614..c42aae2d6 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -342,4 +342,13 @@ int RROutputDeleteUserMode(RROutputPtr output, RRModePtr mode); */ void RROutputSetSubpixelOrder(RROutputPtr output, int order); +/* + * Deliver RROutputChangeNotify event to client + * + * @param pClient the client to send notify even to + * @param pWin the window who's screen is acted on + * @param output the output who's changes are delivered + */ +void RRDeliverOutputEvent(ClientPtr pClient, WindowPtr pWin, RROutputPtr output); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */