diff options
author | mathias <mathias> | 2005-05-14 01:55:31 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-05-14 01:55:31 (GMT) |
commit | 33e359a0dfd4b6e6640b452f99d199377fee396d (patch) | |
tree | 2d9da927957a105533d5fd15192b0a380c6bcc44 /src/Gnome.cc | |
parent | eddedd50d1504ffe6e351b055b1f356dd91e385c (diff) | |
download | fluxbox_pavel-33e359a0dfd4b6e6640b452f99d199377fee396d.zip fluxbox_pavel-33e359a0dfd4b6e6640b452f99d199377fee396d.tar.bz2 |
Vadim pointed out that _NET_CLIENT_LIST and _NET_CLIENT_LIST_STACKING are not updated
when sending _BLACKBOX_NOTIFY_WINDOW_DEL
_NET_WM_DESKTOP and _WIN_WORKSPACE had wrong initial values (-1), which lead to probems
with (eg) fbpager (unaware of newly created windows and such things)
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r-- | src/Gnome.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc index 9fd1a48..1691c9e 100644 --- a/src/Gnome.cc +++ b/src/Gnome.cc | |||
@@ -240,7 +240,7 @@ void Gnome::updateWorkspaceCount(BScreen &screen) { | |||
240 | } | 240 | } |
241 | 241 | ||
242 | void Gnome::updateWorkspace(FluxboxWindow &win) { | 242 | void Gnome::updateWorkspace(FluxboxWindow &win) { |
243 | long val = win.workspaceNumber(); | 243 | long val = win.isInitialized() ? win.workspaceNumber() : win.screen().currentWorkspaceID(); |
244 | if (win.isStuck()) { | 244 | if (win.isStuck()) { |
245 | val = -1; | 245 | val = -1; |
246 | } | 246 | } |