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_ */