mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-05 06:53:57 +00:00
randr: make RRCrtcPendingTransform() static
only used locally inside rrcrtc.c, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -661,12 +661,6 @@ extern _X_EXPORT void
|
||||
*/
|
||||
extern _X_EXPORT RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc);
|
||||
|
||||
/*
|
||||
* Check whether the pending and current transforms are the same
|
||||
*/
|
||||
extern _X_EXPORT Bool
|
||||
RRCrtcPendingTransform(RRCrtcPtr crtc);
|
||||
|
||||
/*
|
||||
* Destroy a Crtc at shutdown
|
||||
*/
|
||||
|
||||
@@ -720,6 +720,17 @@ rrCheckEmulated(RROutputPtr output)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Check whether the pending and current transforms are the same
|
||||
*/
|
||||
static inline Bool
|
||||
RRCrtcPendingTransform(RRCrtcPtr crtc)
|
||||
{
|
||||
return !RRTransformEqual(&crtc->client_current_transform,
|
||||
&crtc->client_pending_transform);
|
||||
}
|
||||
|
||||
/*
|
||||
* Request that the Crtc be reconfigured
|
||||
*/
|
||||
@@ -854,16 +865,6 @@ RRCrtcGetTransform(RRCrtcPtr crtc)
|
||||
return transform;
|
||||
}
|
||||
|
||||
/*
|
||||
* Check whether the pending and current transforms are the same
|
||||
*/
|
||||
Bool
|
||||
RRCrtcPendingTransform(RRCrtcPtr crtc)
|
||||
{
|
||||
return !RRTransformEqual(&crtc->client_current_transform,
|
||||
&crtc->client_pending_transform);
|
||||
}
|
||||
|
||||
/*
|
||||
* Destroy a Crtc at shutdown
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user