From 2c71b5f260e69acdb54f5843d46e4da006e554b0 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 14:40:11 +0200 Subject: [PATCH] randr: unexport and document RRReplaceScanoutPixmap() 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 | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 78e114589..bb1471012 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -595,9 +595,6 @@ extern _X_EXPORT Bool extern _X_EXPORT Bool RRCrtcGammaSetSize(RRCrtcPtr crtc, int size); -extern _X_EXPORT Bool - RRReplaceScanoutPixmap(DrawablePtr pDrawable, PixmapPtr pPixmap, Bool enable); - /* * Return if the screen has any scanout_pixmap's attached */ diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 1c154d857..b0c0d4d8f 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -236,4 +236,10 @@ void RRCrtcInitErrorValue(void); */ void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc); +/* + * Handler for the ReplaceScanoutPixmap screen proc + * Should not be called directly. + */ +Bool RRReplaceScanoutPixmap(DrawablePtr pDrawable, PixmapPtr pPixmap, Bool enable); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */