mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
- Made the Gnome tasklist skip the windows with the "Skip window list" flag
enabled. (patch from Bastien Nocera <hadess@hadess.net>) - Small code cleanup in src/workspace.c
This commit is contained in:
@@ -525,19 +525,11 @@ wWorkspaceForceChange(WScreen *scr, int workspace)
|
||||
wWindowUnmap(tmp);
|
||||
}
|
||||
/* also unmap miniwindows not on this workspace */
|
||||
if (tmp->flags.miniaturized && !IS_OMNIPRESENT(tmp)
|
||||
&& tmp->icon) {
|
||||
if (!wPreferences.sticky_icons) {
|
||||
XUnmapWindow(dpy, tmp->icon->core->window);
|
||||
tmp->icon->mapped = 0;
|
||||
}
|
||||
#if 0
|
||||
else {
|
||||
tmp->icon->mapped = 1;
|
||||
/* Why is this here? -Alfredo */
|
||||
XMapWindow(dpy, tmp->icon->core->window);
|
||||
}
|
||||
#endif
|
||||
if (!wPreferences.sticky_icons && tmp->flags.miniaturized &&
|
||||
tmp->icon && !IS_OMNIPRESENT(tmp)) {
|
||||
|
||||
XUnmapWindow(dpy, tmp->icon->core->window);
|
||||
tmp->icon->mapped = 0;
|
||||
}
|
||||
/* update current workspace of omnipresent windows */
|
||||
if (IS_OMNIPRESENT(tmp)) {
|
||||
|
||||
Reference in New Issue
Block a user