diff options
author | markt <markt> | 2007-03-17 08:15:04 (GMT) |
---|---|---|
committer | markt <markt> | 2007-03-17 08:15:04 (GMT) |
commit | 7ba4f04a869328fd3233c7069dca6da605c9a0b4 (patch) | |
tree | cfbafa221382f235af2563b1bee8ca081bd52c5d | |
parent | ca1ca328cff53d909bd59e49f830499f084e64fa (diff) | |
download | fluxbox-7ba4f04a869328fd3233c7069dca6da605c9a0b4.zip fluxbox-7ba4f04a869328fd3233c7069dca6da605c9a0b4.tar.bz2 |
change workspace number of iconified, stuck windows when changing workspaces
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Screen.cc | 7 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc3: | 2 | Changes for 1.0rc3: |
3 | *07/03/17: | ||
4 | * Iconified, stuck windows weren't being moved to different workspaces (Mark) | ||
5 | Screen.cc | ||
3 | *07/03/16: | 6 | *07/03/16: |
4 | * Maximizing a window with aspect ratio requirements was making windows too | 7 | * Maximizing a window with aspect ratio requirements was making windows too |
5 | large (thanks Tomas Janousek) | 8 | large (thanks Tomas Janousek) |
diff --git a/src/Screen.cc b/src/Screen.cc index 44171be..3ef27a6 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1175,6 +1175,13 @@ void BScreen::changeWorkspaceID(unsigned int id) { | |||
1175 | } | 1175 | } |
1176 | } | 1176 | } |
1177 | 1177 | ||
1178 | // change workspace ID of stuck iconified windows, too | ||
1179 | Icons::iterator icon_it = iconList().begin(); | ||
1180 | for (; icon_it != iconList().end(); ++icon_it) { | ||
1181 | if ((*icon_it)->isStuck()) | ||
1182 | (*icon_it)->setWorkspace(id); | ||
1183 | } | ||
1184 | |||
1178 | currentWorkspace()->hideAll(false); | 1185 | currentWorkspace()->hideAll(false); |
1179 | 1186 | ||
1180 | // set new workspace | 1187 | // set new workspace |