1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 22:28:02 +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:
dan
2001-04-17 01:02:21 +00:00
parent 9d1306bf01
commit 10e7985961
3 changed files with 9 additions and 14 deletions

View File

@@ -22,6 +22,8 @@ Changes since version 0.64.0:
- Organized the inspector panel a bit better. - Organized the inspector panel a bit better.
- Replaced bags with arrays wherever appropriate. This will improve - Replaced bags with arrays wherever appropriate. This will improve
performance a bit. performance a bit.
- Made the Gnome tasklist skip the windows with the "Skip window list" flag
enabled. (Bastien Nocera <hadess@hadess.net>)
Changes since version 0.63.1: Changes since version 0.63.1:

View File

@@ -202,7 +202,8 @@ wGNOMEUpdateClientListHint(WScreen *scr)
count = 0; count = 0;
wwin = scr->focused_window; wwin = scr->focused_window;
while (wwin) { while (wwin) {
if (!wwin->flags.internal_window) { if (!wwin->flags.internal_window &&
!wwin->client_flags.skip_window_list) {
windows[count++] = wwin->client_win; windows[count++] = wwin->client_win;
} }

View File

@@ -525,20 +525,12 @@ wWorkspaceForceChange(WScreen *scr, int workspace)
wWindowUnmap(tmp); wWindowUnmap(tmp);
} }
/* also unmap miniwindows not on this workspace */ /* also unmap miniwindows not on this workspace */
if (tmp->flags.miniaturized && !IS_OMNIPRESENT(tmp) if (!wPreferences.sticky_icons && tmp->flags.miniaturized &&
&& tmp->icon) { tmp->icon && !IS_OMNIPRESENT(tmp)) {
if (!wPreferences.sticky_icons) {
XUnmapWindow(dpy, tmp->icon->core->window); XUnmapWindow(dpy, tmp->icon->core->window);
tmp->icon->mapped = 0; tmp->icon->mapped = 0;
} }
#if 0
else {
tmp->icon->mapped = 1;
/* Why is this here? -Alfredo */
XMapWindow(dpy, tmp->icon->core->window);
}
#endif
}
/* update current workspace of omnipresent windows */ /* update current workspace of omnipresent windows */
if (IS_OMNIPRESENT(tmp)) { if (IS_OMNIPRESENT(tmp)) {
WApplication *wapp = wApplicationOf(tmp->main_window); WApplication *wapp = wApplicationOf(tmp->main_window);