diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-05 15:22:41 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-12 11:03:29 +1000 |
commit | b368dd1720c708aaec492b4a67fb7e4f87569c11 (patch) | |
tree | ece77c3200a86f9e40c7317c498f735da0202bbf /dix | |
parent | cadf65a6e190a8952ad3cc216dc9ea55241de91a (diff) |
dix: remove a few pointless (void) casts of return values.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/events.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dix/events.c b/dix/events.c index fa6c46996..68826c2a8 100644 --- a/dix/events.c +++ b/dix/events.c @@ -3303,7 +3303,7 @@ CheckPassiveGrabsOnWindow( FixUpEventFromWindow(device, xE, grab->window, None, TRUE); - (void) TryClientEvents(rClient(grab), device, xE, count, + TryClientEvents(rClient(grab), device, xE, count, filters[device->id][xE->u.u.type], filters[device->id][xE->u.u.type], grab); @@ -4088,7 +4088,7 @@ CoreFocusEvent(DeviceIntPtr dev, int type, int mode, int detail, WindowPtr pWin) bzero((char *)&ke.map[0], 31); ke.type = KeymapNotify; - (void)DeliverEventsToWindow(dev, pWin, (xEvent *)&ke, 1, + DeliverEventsToWindow(dev, pWin, (xEvent *)&ke, 1, KeymapStateMask, NullGrab, 0); } } @@ -4837,7 +4837,7 @@ ProcSendEvent(ClientPtr client) } } else if (!XaceHook(XACE_SEND_ACCESS, client, NULL, pWin, &stuff->event, 1)) - (void)DeliverEventsToWindow(PickPointer(client), pWin, &stuff->event, + DeliverEventsToWindow(PickPointer(client), pWin, &stuff->event, 1, stuff->eventMask, NullGrab, 0); return Success; } @@ -5410,7 +5410,7 @@ WriteEventsToClient(ClientPtr pClient, int count, xEvent *events) (*EventSwapVector[eventFrom->u.u.type & 0177]) (eventFrom, eventTo); - (void)WriteToClient(pClient, eventlength, (char *)eventTo); + WriteToClient(pClient, eventlength, (char *)eventTo); } } else @@ -5418,7 +5418,7 @@ WriteEventsToClient(ClientPtr pClient, int count, xEvent *events) /* only one GenericEvent, remember? that means either count is 1 and * eventlength is arbitrary or eventlength is 32 and count doesn't * matter. And we're all set. Woohoo. */ - (void)WriteToClient(pClient, count * eventlength, (char *) events); + WriteToClient(pClient, count * eventlength, (char *) events); } } |