randr: unexport and document RRCrtcIsLeased()

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 14:54:22 +02:00
parent 6b4e452741
commit c5f604617c
2 changed files with 8 additions and 3 deletions

View File

@ -595,9 +595,6 @@ extern _X_EXPORT Bool
extern _X_EXPORT Bool extern _X_EXPORT Bool
RRCrtcGammaSetSize(RRCrtcPtr crtc, int size); RRCrtcGammaSetSize(RRCrtcPtr crtc, int size);
extern _X_EXPORT Bool
RRCrtcIsLeased(RRCrtcPtr crtc);
extern _X_EXPORT Bool extern _X_EXPORT Bool
RROutputIsLeased(RROutputPtr output); RROutputIsLeased(RROutputPtr output);

View File

@ -273,4 +273,12 @@ void RRLeaseTerminated(RRLeasePtr lease);
*/ */
void RRLeaseFree(RRLeasePtr lease); void RRLeaseFree(RRLeasePtr lease);
/*
* Check whether given CRTC has an active lease
*
* @param crtc the CRTC to check
* @return TRUE if there is any active lease on that CRTC
*/
Bool RRCrtcIsLeased(RRCrtcPtr crtc);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */