diff --git a/present/present_scmd.c b/present/present_scmd.c index b60e1b143..e3e3f08c1 100644 --- a/present/present_scmd.c +++ b/present/present_scmd.c @@ -21,6 +21,8 @@ */ #include +#include "randr/randrstr_priv.h" + #include "present_priv.h" #include #include diff --git a/randr/randrstr.h b/randr/randrstr.h index bda1645e3..e7e30a618 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -554,11 +554,6 @@ RRSetCurrentConfig(ScreenPtr pScreen, */ extern _X_EXPORT RRCrtcPtr RRCrtcCreate(ScreenPtr pScreen, void *devPrivate); -/* - * Tests if findCrtc belongs to pScreen or secondary screens - */ -extern _X_EXPORT Bool RRCrtcExists(ScreenPtr pScreen, RRCrtcPtr findCrtc); - /* * Set the allowed rotations on a CRTC */ diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 71970ecd1..389e1faee 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -167,4 +167,13 @@ Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop); */ CARD16 RRVerticalRefresh(xRRModeInfo * mode); +/* + * Tests if findCrtc belongs to pScreen or secondary screens + * + * @param pScreen the screen to check on + * @param findCrtc the Crtc to check for + * @return TRUE if given CRTC belongs to pScreen / secondard screens + */ +Bool RRCrtcExists(ScreenPtr pScreen, RRCrtcPtr findCrtc); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */