diff --git a/randr/randrstr.h b/randr/randrstr.h index 087c5fa562..dffe381dcf 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -595,9 +595,6 @@ extern _X_EXPORT Bool extern _X_EXPORT Bool RRCrtcGammaSetSize(RRCrtcPtr crtc, int size); -extern _X_EXPORT Bool -RROutputIsLeased(RROutputPtr output); - /* rrmode.c */ /* * Find, and if necessary, create a mode diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index fd251babaa..931369d1dc 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -281,4 +281,12 @@ void RRLeaseFree(RRLeasePtr lease); */ 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_ */