randr: re-export RRCrtcDetachScanoutPixmap() for Nvidia legacy

NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-05 11:10:34 +02:00
parent 5f91adf017
commit 90c1f3b2a8
2 changed files with 8 additions and 7 deletions

View File

@ -702,6 +702,14 @@ void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
_X_EXPORT /* just for Nvidia legacy */ _X_EXPORT /* just for Nvidia legacy */
RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc); 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_ */ #endif /* _RANDRSTR_H_ */
/* /*

View File

@ -208,13 +208,6 @@ Bool RRCrtcInit(void);
*/ */
void RRCrtcInitErrorValue(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 * Handler for the ReplaceScanoutPixmap screen proc
* Should not be called directly. * Should not be called directly.