aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index b5ffcb6..b048480 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -229,11 +229,11 @@ void Workspace::hideAll(bool interrupt_moving) {
229} 229}
230 230
231 231
232void Workspace::removeAll() { 232void Workspace::removeAll(unsigned int dest) {
233 Windows::iterator it = m_windowlist.begin(); 233 Windows::iterator it = m_windowlist.begin();
234 Windows::const_iterator it_end = m_windowlist.end(); 234 Windows::const_iterator it_end = m_windowlist.end();
235 for (; it != it_end; ++it) 235 for (; it != it_end; ++it)
236 (*it)->iconify(); 236 m_screen.sendToWorkspace(dest, *it, false);
237} 237}
238 238
239 239