randr: unexport and document RROutputIsLeased()

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 15:31:14 +02:00
parent c5f604617c
commit 6b0f2261e5
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
RROutputIsLeased(RROutputPtr output);
/* rrmode.c */ /* rrmode.c */
/* /*
* Find, and if necessary, create a mode * Find, and if necessary, create a mode

View File

@ -281,4 +281,12 @@ void RRLeaseFree(RRLeasePtr lease);
*/ */
Bool RRCrtcIsLeased(RRCrtcPtr crtc); Bool RRCrtcIsLeased(RRCrtcPtr crtc);
/*
* Check whether given output is leased
*
* @param output the output to check
* @return TRUE if theere is any active lease on that output
*/
Bool RROutputIsLeased(RROutputPtr output);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */