From 1f24970160bba52e3f98b0228ccde0049c9f8d7d Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Fri, 1 Nov 2013 16:06:54 +0100 Subject: [PATCH] wmaker: Removed unused args to local functions in wmspec Signed-off-by: Christophe CURIS --- src/wmspec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wmspec.c b/src/wmspec.c index 2fbffc85..b4a8cfab 100644 --- a/src/wmspec.c +++ b/src/wmspec.c @@ -770,7 +770,7 @@ static void updateWorkspaceNames(WScreen *scr) PropModeReplace, (unsigned char *)buf, len); } -static void updateFocusHint(WScreen *scr, WWindow *wwin) +static void updateFocusHint(WScreen *scr) { /* changeable */ Window window; @@ -1302,7 +1302,7 @@ void wNETWMCheckInitialClientState(WWindow *wwin) updateIconImage(wwin); } -static void handleDesktopNames(XClientMessageEvent *event, WScreen *scr) +static void handleDesktopNames(WScreen *scr) { unsigned long nitems_ret, bytes_after_ret; char *data, *names[32]; @@ -1371,7 +1371,7 @@ Bool wNETWMProcessClientMessage(XClientMessageEvent *event) } else if (event->message_type == net_showing_desktop) { wNETWMShowingDesktop(scr, event->data.l[0]); } else if (event->message_type == net_desktop_names) { - handleDesktopNames(event, scr); + handleDesktopNames(scr); } else { done = False; } @@ -1560,7 +1560,7 @@ static void observer(void *self, WMNotification *notif) updateClientListStacking(wwin->screen_ptr, NULL); updateStateHint(wwin, False, False); } else if (strcmp(name, WMNChangedFocus) == 0) { - updateFocusHint(ndata->scr, wwin); + updateFocusHint(ndata->scr); } else if (strcmp(name, WMNChangedWorkspace) == 0 && wwin) { updateWorkspaceHint(wwin, False, False); updateStateHint(wwin, True, False); -- 2.11.4.GIT