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:
committed by
Carlos R. Mafra
parent
2103fe390b
commit
014bc52531
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user