all repos — fluxbox @ b0076fb3b4e49b07f3fdca6004630d52a8a2ab50

custom fork of the fluxbox windowmanager

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.
mathias mathias
commit

b0076fb3b4e49b07f3fdca6004630d52a8a2ab50

parent

d1876666c91b6f71566db7cf4034709283cf2ee6

2 files changed, 7 insertions(+), 4 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,7 +1,10 @@

(Format: Year/Month/Day) Changes for 0.9.13 +*05/04/23: + * Fixed #1020399 aka broken ShowDesktop - command (mathias) + WorkspaceCmd.cc *05/04/22: - * clear maximized-Flags of a resized/moved Window (Mathias= + * clear maximized-Flags of a resized/moved Window (Mathias) Window.cc * fixed Iconified+Sticky Windows not shown in Iconbar (Mathias) (when in WorkspaceIcons-Mode
M src/WorkspaceCmd.ccsrc/WorkspaceCmd.cc

@@ -185,8 +185,8 @@ BScreen *screen = Fluxbox::instance()->mouseScreen();

if (screen == 0) return; - Workspace *space = screen->currentWorkspace(); - std::for_each(space->windowList().begin(), - space->windowList().end(), + Workspace::Windows windows(screen->currentWorkspace()->windowList()); + std::for_each(windows.begin(), + windows.end(), std::mem_fun(&FluxboxWindow::iconify)); }