aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/Workspace.cc5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b9e0571..330e3f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0.0: 2Changes for 1.0.0:
3*07/06/01:
4 * Fixed infinite loop caused by removing the last workspace when it contains
5 windows (Mark)
6 Workspace.cc
3*07/05/20: 7*07/05/20:
4 * Fixed bug #1717782, Bad fullscreen in ooimpress2 ( Henrik ) 8 * Fixed bug #1717782, Bad fullscreen in ooimpress2 ( Henrik )
5 mwm hint had no-resize which made resizing with 9 mwm hint had no-resize which made resizing with
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 66dd4a6..fd81e5e 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -245,8 +245,9 @@ void Workspace::hideAll(bool interrupt_moving) {
245 245
246 246
247void Workspace::removeAll(unsigned int dest) { 247void Workspace::removeAll(unsigned int dest) {
248 Windows::iterator it = m_windowlist.begin(); 248 Windows tmp_list(m_windowlist);
249 Windows::const_iterator it_end = m_windowlist.end(); 249 Windows::iterator it = tmp_list.begin();
250 Windows::const_iterator it_end = tmp_list.end();
250 for (; it != it_end; ++it) 251 for (; it != it_end; ++it)
251 m_screen.sendToWorkspace(dest, *it, false); 252 m_screen.sendToWorkspace(dest, *it, false);
252} 253}