diff options
-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 |