1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +01:00

wClipIconPaint appicon argument removed

Because the wClipIconPaint() function is specific to paint the clip,
it knows where is the clip (wks_info.clip_icon), so the argument is not
needed.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
Rodolfo García Peñas (kix)
2013-10-08 00:56:40 +02:00
committed by Carlos R. Mafra
parent 2103fe390b
commit 014bc52531
5 changed files with 12 additions and 11 deletions

View File

@@ -624,7 +624,7 @@ void wWorkspaceForceChange(WScreen * scr, int workspace)
XMapWindow(dpy, w_global.clip.icon->icon->core->window);
}
else if (w_global.clip.icon != NULL) {
wClipIconPaint(w_global.clip.icon);
wClipIconPaint();
}
wScreenUpdateUsableArea(scr);
wNETWMUpdateDesktop(scr);
@@ -700,7 +700,7 @@ void wWorkspaceRename(WScreen *scr, int workspace, const char *name)
}
if (w_global.clip.icon)
wClipIconPaint(w_global.clip.icon);
wClipIconPaint();
WMPostNotificationName(WMNWorkspaceNameChanged, scr, (void *)(uintptr_t) workspace);
}