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:
@@ -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:
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -525,19 +525,11 @@ 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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user