diff --git a/randr/randrstr.h b/randr/randrstr.h index b4122e0a4..b89fb03d2 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -702,6 +702,14 @@ void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height); _X_EXPORT /* just for Nvidia legacy */ RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc); +/* + * Detach and free a scanout pixmap + * + * @param crtc the CRTC to act on + */ +_X_EXPORT /* just for Nvidia legacy */ +void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc); + #endif /* _RANDRSTR_H_ */ /* diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index e1dfee905..8afbbee92 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -208,13 +208,6 @@ Bool RRCrtcInit(void); */ void RRCrtcInitErrorValue(void); -/* - * Detach and free a scanout pixmap - * - * @param crtc the CRTC to act on - */ -void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc); - /* * Handler for the ReplaceScanoutPixmap screen proc * Should not be called directly.