diff options
author | mathias <mathias> | 2005-04-23 08:11:42 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-04-23 08:11:42 (GMT) |
commit | b0076fb3b4e49b07f3fdca6004630d52a8a2ab50 (patch) | |
tree | 5e1c58dc15cb98111063d4b7634b22a4c7e860f6 | |
parent | d1876666c91b6f71566db7cf4034709283cf2ee6 (diff) | |
download | fluxbox-b0076fb3b4e49b07f3fdca6004630d52a8a2ab50.zip fluxbox-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/WorkspaceCmd.cc | 6 |
2 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,10 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.13 | 2 | Changes 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 | } |