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:
		
							parent
							
								
									0f43098a9b
								
							
						
					
					
						commit
						2484bcf474
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue