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:
Peter Hutterer 2011-12-05 11:26:30 +10:00
parent 1ab50be938
commit a1304d6cb6

View File

@ -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