Remove redundancy.
The only function that cat set SWCursor before xf86DeviceCursorInitialize() is xf86InitCursor() when VCP and is created. Signed-off-by: Tiago Vignatti <vignatti@c3sl.ufpr.br> Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
This commit is contained in:
		
							parent
							
								
									9fc94edfe3
								
							
						
					
					
						commit
						5af90025fe
					
				| 
						 | 
				
			
			@ -464,11 +464,8 @@ xf86DeviceCursorInitialize(DeviceIntPtr pDev, ScreenPtr pScreen)
 | 
			
		|||
 | 
			
		||||
    if (pDev != inputInfo.pointer)
 | 
			
		||||
    {
 | 
			
		||||
	if (!ScreenPriv->SWCursor)
 | 
			
		||||
	{
 | 
			
		||||
	    ScreenPriv->spriteFuncs->SetCursor(inputInfo.pointer, pScreen,
 | 
			
		||||
		    ScreenPriv->CurrentCursor, ScreenPriv->x, ScreenPriv->y);
 | 
			
		||||
	}
 | 
			
		||||
        ScreenPriv->SWCursor = TRUE | XF86_FORCE_SW_CURSOR;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue