summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathias <mathias>2005-04-23 08:11:42 (GMT)
committermathias <mathias>2005-04-23 08:11:42 (GMT)
commitb0076fb3b4e49b07f3fdca6004630d52a8a2ab50 (patch)
tree5e1c58dc15cb98111063d4b7634b22a4c7e860f6
parentd1876666c91b6f71566db7cf4034709283cf2ee6 (diff)
downloadfluxbox_lack-b0076fb3b4e49b07f3fdca6004630d52a8a2ab50.zip
fluxbox_lack-b0076fb3b4e49b07f3fdca6004630d52a8a2ab50.tar.bz2
fixed #1020399 aka broken ShowDesktop, its an error to travers the
workspace-windowlist and deiconify each window coz that list is modified each time a window is iconified. a copy of that list solves the problem.
-rw-r--r--ChangeLog5
-rw-r--r--src/WorkspaceCmd.cc6
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 7134bfe..194ae98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.13 2Changes for 0.9.13
3*05/04/23:
4 * Fixed #1020399 aka broken ShowDesktop - command (mathias)
5 WorkspaceCmd.cc
3*05/04/22: 6*05/04/22:
4 * clear maximized-Flags of a resized/moved Window (Mathias= 7 * clear maximized-Flags of a resized/moved Window (Mathias)
5 Window.cc 8 Window.cc
6 * fixed Iconified+Sticky Windows not shown in Iconbar (Mathias) 9 * fixed Iconified+Sticky Windows not shown in Iconbar (Mathias)
7 (when in WorkspaceIcons-Mode 10 (when in WorkspaceIcons-Mode
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc
index 3adc3c8..4cfcbb8 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -185,8 +185,8 @@ void ShowDesktopCmd::execute() {
185 if (screen == 0) 185 if (screen == 0)
186 return; 186 return;
187 187
188 Workspace *space = screen->currentWorkspace(); 188 Workspace::Windows windows(screen->currentWorkspace()->windowList());
189 std::for_each(space->windowList().begin(), 189 std::for_each(windows.begin(),
190 space->windowList().end(), 190 windows.end(),
191 std::mem_fun(&FluxboxWindow::iconify)); 191 std::mem_fun(&FluxboxWindow::iconify));
192} 192}