summaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc7
1 files changed, 7 insertions, 0 deletions
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