diff --git a/randr/randrstr.h b/randr/randrstr.h index f0d767b03..b4122e0a4 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -693,6 +693,15 @@ Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop); _X_EXPORT /* just for Nvidia legacy */ 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_ */ /* diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index f76dc5453..e1dfee905 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -190,14 +190,6 @@ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); */ 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 *