aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-05-13 01:48:18 (GMT)
committerrathnor <rathnor>2004-05-13 01:48:18 (GMT)
commit9069ae0d80c278fcba837d50f75a49f18ea44c15 (patch)
treee7ebc3a06eb456fc7e8e138e0797591fc25c3a20 /src/Workspace.cc
parent7ed9104ea85e3f7d23e0a523c71ad8dbe7c281c2 (diff)
downloadfluxbox-9069ae0d80c278fcba837d50f75a49f18ea44c15.zip
fluxbox-9069ae0d80c278fcba837d50f75a49f18ea44c15.tar.bz2
fix up a number of things for when a window hides while moving,
including a crash bug
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index da6d9c1..87c32c4 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.95 2004/03/21 09:00:25 rathnor Exp $ 25// $Id: Workspace.cc,v 1.96 2004/05/13 01:48:18 rathnor Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -218,12 +218,12 @@ void Workspace::showAll() {
218} 218}
219 219
220 220
221void Workspace::hideAll() { 221void Workspace::hideAll(bool interrupt_moving) {
222 Windows::reverse_iterator it = m_windowlist.rbegin(); 222 Windows::reverse_iterator it = m_windowlist.rbegin();
223 Windows::reverse_iterator it_end = m_windowlist.rend(); 223 Windows::reverse_iterator it_end = m_windowlist.rend();
224 for (; it != it_end; ++it) { 224 for (; it != it_end; ++it) {
225 if (! (*it)->isStuck()) 225 if (! (*it)->isStuck())
226 (*it)->withdraw(); 226 (*it)->withdraw(interrupt_moving);
227 } 227 }
228} 228}
229 229