diff --git a/randr/randrstr.h b/randr/randrstr.h index 588aa0db7..121d3bece 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -572,9 +572,6 @@ RRCrtcNotify(RRCrtcPtr crtc, Rotation rotation, RRTransformPtr transform, int numOutputs, RROutputPtr * outputs); -extern _X_EXPORT void - RRDeliverCrtcEvent(ClientPtr client, WindowPtr pWin, RRCrtcPtr crtc); - /* * Request that the Crtc be reconfigured */ diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 4754ea521..fa7b1c2cc 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -184,4 +184,13 @@ Bool RRCrtcExists(ScreenPtr pScreen, RRCrtcPtr findCrtc); */ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); +/* + * Deliver CRTC update event to given client + * + * @param pClient the client to send event to + * @param pWin the window whose screen had been changed + * @param crtc the CRTC that had been changed + */ +void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */