diff --git a/randr/randrstr.h b/randr/randrstr.h index 7e178e1cb..f0d767b03 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -682,6 +682,17 @@ extern _X_EXPORT RESTYPE RROutputType; /* X resource type: Randr OUTPUT */ _X_EXPORT /* just for Nvidia legacy */ Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop); +/* + * Return the area of the frame buffer scanned out by the crtc, + * taking into account the current mode and rotation + * + * @param crtc the CRTC to query + * @param width return buffer for width value + * @param height return buffer for height value + */ +_X_EXPORT /* just for Nvidia legacy */ +void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height); + #endif /* _RANDRSTR_H_ */ /* diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 23689ff1d..f76dc5453 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -190,16 +190,6 @@ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); */ void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc); -/* - * Return the area of the frame buffer scanned out by the crtc, - * taking into account the current mode and rotation - * - * @param crtc the CRTC to query - * @param width return buffer for width value - * @param height return buffer for height value - */ -void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height); - /* * Retrieve CRTCs current transform *