all repos — fluxbox @ e6e784e20db9419287382a5293892a6a02ad5e7f

custom fork of the fluxbox windowmanager

fixed infinite loop caused by removing the last workspace when it contains windows
markt markt
commit

e6e784e20db9419287382a5293892a6a02ad5e7f

parent

bbea139cae43172b0f84f10421c174256d1262be

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

jump to
M ChangeLogChangeLog

@@ -1,5 +1,9 @@

(Format: Year/Month/Day) Changes for 1.0.0: +*07/06/01: + * Fixed infinite loop caused by removing the last workspace when it contains + windows (Mark) + Workspace.cc *07/05/20: * Fixed bug #1717782, Bad fullscreen in ooimpress2 ( Henrik ) mwm hint had no-resize which made resizing with
M src/Workspace.ccsrc/Workspace.cc

@@ -245,8 +245,9 @@ }

void Workspace::removeAll(unsigned int dest) { - Windows::iterator it = m_windowlist.begin(); - Windows::const_iterator it_end = m_windowlist.end(); + Windows tmp_list(m_windowlist); + Windows::iterator it = tmp_list.begin(); + Windows::const_iterator it_end = tmp_list.end(); for (; it != it_end; ++it) m_screen.sendToWorkspace(dest, *it, false); }