aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-03-17 08:15:04 (GMT)
committermarkt <markt>2007-03-17 08:15:04 (GMT)
commit7ba4f04a869328fd3233c7069dca6da605c9a0b4 (patch)
treecfbafa221382f235af2563b1bee8ca081bd52c5d /src/Screen.cc
parentca1ca328cff53d909bd59e49f830499f084e64fa (diff)
downloadfluxbox-7ba4f04a869328fd3233c7069dca6da605c9a0b4.zip
fluxbox-7ba4f04a869328fd3233c7069dca6da605c9a0b4.tar.bz2
change workspace number of iconified, stuck windows when changing workspaces
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