randr: unexport and document RRVerticalRefresh()

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 13:51:18 +02:00
parent 6fe2807f88
commit f6002ca703
2 changed files with 8 additions and 3 deletions

View File

@ -519,9 +519,6 @@ extern _X_EXPORT Bool RRScreenInit(ScreenPtr pScreen);
extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen); extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen);
extern _X_EXPORT CARD16
RRVerticalRefresh(xRRModeInfo * mode);
#ifdef RANDR_10_INTERFACE #ifdef RANDR_10_INTERFACE
/* /*
* This is the old interface, deprecated but left * This is the old interface, deprecated but left

View File

@ -159,4 +159,12 @@ RRCrtcPtr RRFirstEnabledCrtc(ScreenPtr pScreen);
*/ */
Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop); Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
/*
* Compute vertical refresh rate from randr mode information
*
* @param mode pointer to randr mode info
* @return vertical refresh rate
*/
CARD16 RRVerticalRefresh(xRRModeInfo * mode);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */