aboutsummaryrefslogtreecommitdiff
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
parentca1ca328cff53d909bd59e49f830499f084e64fa (diff)
downloadfluxbox-7ba4f04a869328fd3233c7069dca6da605c9a0b4.zip
fluxbox-7ba4f04a869328fd3233c7069dca6da605c9a0b4.tar.bz2
change workspace number of iconified, stuck windows when changing workspaces
-rw-r--r--ChangeLog3
-rw-r--r--src/Screen.cc7
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ef710e..9959509 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes 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