[PATCH] Xi: skip superfluous cast
Peter Hutterer
peter.hutterer at who-t.net
Tue Dec 6 00:07:39 PST 2011
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
Xi/exevents.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Xi/exevents.c b/Xi/exevents.c
index bb5c189..6297d6c 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -1773,7 +1773,7 @@ ProcessDeviceEvent(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
--
1.7.7.1
More information about the xorg-devel
mailing list