Xi: skip superfluous cast
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
		
							parent
							
								
									1ab50be938
								
							
						
					
					
						commit
						a1304d6cb6
					
				| 
						 | 
					@ -1033,7 +1033,7 @@ ProcessOtherEvent(InternalEvent *ev, DeviceIntPtr device)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (grab)
 | 
					    if (grab)
 | 
				
			||||||
        DeliverGrabbedEvent((InternalEvent*)event, device, deactivateDeviceGrab);
 | 
					        DeliverGrabbedEvent((InternalEvent*)event, device, deactivateDeviceGrab);
 | 
				
			||||||
    else if (device->focus && !IsPointerEvent((InternalEvent*)ev))
 | 
					    else if (device->focus && !IsPointerEvent(ev))
 | 
				
			||||||
        DeliverFocusedEvent(device, (InternalEvent*)event,
 | 
					        DeliverFocusedEvent(device, (InternalEvent*)event,
 | 
				
			||||||
                            GetSpriteWindow(device));
 | 
					                            GetSpriteWindow(device));
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue