xfree86: Symmetrize xf86AccessEnter and xf86AccessLeave
Enter was changing server operating state, Leave wasn't. Which was wholly redundant, since all callers of Enter would immediately change the operating state to exactly what Enter had just done. Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									7a9062f2f0
								
							
						
					
					
						commit
						a04e74cb48
					
				| 
						 | 
				
			
			@ -484,8 +484,6 @@ xf86AccessEnter(void)
 | 
			
		|||
    for (i = 0; i < xf86NumEntities; i++)
 | 
			
		||||
        if (xf86Entities[i]->entityEnter)
 | 
			
		||||
		xf86Entities[i]->entityEnter(i,xf86Entities[i]->private);
 | 
			
		||||
 | 
			
		||||
    xf86EnterServerState(SETUP);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue