diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index f01224f..58222d7 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -1186,10 +1186,10 @@ void Fluxbox::update(FbTk::Subject *changedsub) { | |||
1186 | // if window changed to iconic state | 1186 | // if window changed to iconic state |
1187 | // add to icon list | 1187 | // add to icon list |
1188 | if (win.isIconic()) { | 1188 | if (win.isIconic()) { |
1189 | win.screen().addIcon(&win); | ||
1189 | Workspace *space = win.screen().getWorkspace(win.workspaceNumber()); | 1190 | Workspace *space = win.screen().getWorkspace(win.workspaceNumber()); |
1190 | if (space != 0) | 1191 | if (space != 0) |
1191 | space->removeWindow(&win, true); | 1192 | space->removeWindow(&win, true); |
1192 | win.screen().addIcon(&win); | ||
1193 | } | 1193 | } |
1194 | 1194 | ||
1195 | if (win.isStuck()) { | 1195 | if (win.isStuck()) { |