randr: re-export RRCrtcGetTransform() 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:07:55 +02:00
parent 49c6431695
commit 5f91adf017
2 changed files with 9 additions and 8 deletions

View File

@ -693,6 +693,15 @@ Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
_X_EXPORT /* just for Nvidia legacy */ _X_EXPORT /* just for Nvidia legacy */
void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height); void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
/*
* Retrieve CRTCs current transform
*
* @param crtc the CRTC to query
* @return pointer to CRTCs current transform
*/
_X_EXPORT /* just for Nvidia legacy */
RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc);
#endif /* _RANDRSTR_H_ */ #endif /* _RANDRSTR_H_ */
/* /*

View File

@ -190,14 +190,6 @@ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms);
*/ */
void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc); void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc);
/*
* Retrieve CRTCs current transform
*
* @param crtc the CRTC to query
* @return pointer to CRTCs current transform
*/
RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc);
/* /*
* Destroy a Crtc at shutdown * Destroy a Crtc at shutdown
* *