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)
|
||||
DeliverGrabbedEvent((InternalEvent*)event, device, deactivateDeviceGrab);
|
||||
else if (device->focus && !IsPointerEvent((InternalEvent*)ev))
|
||||
else if (device->focus && !IsPointerEvent(ev))
|
||||
DeliverFocusedEvent(device, (InternalEvent*)event,
|
||||
GetSpriteWindow(device));
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue