aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2006-06-16 22:29:26 (GMT)
committermarkt <markt>2006-06-16 22:29:26 (GMT)
commit926260e5c85326feec1681eda2b3561596f47556 (patch)
tree08379acdfe8e34ec56a8c66c9a0ecc4e23458e71
parent7efed1a825d777c692cc7e80f7c355ba825ba802 (diff)
downloadfluxbox-926260e5c85326feec1681eda2b3561596f47556.zip
fluxbox-926260e5c85326feec1681eda2b3561596f47556.tar.bz2
Fix crash when closing a window while cycling (Mark)
-rw-r--r--src/FocusControl.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index e92eced..ce61a4d 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -365,9 +365,10 @@ void FocusControl::removeClient(WinClient &client) {
365 m_focused_list.remove(&client); 365 m_focused_list.remove(&client);
366 m_creation_order_list.remove(&client); 366 m_creation_order_list.remove(&client);
367 367
368 if (cyc == &client) 368 if (cyc == &client) {
369 m_cycling_window = m_creation_order_list.end();
369 stopCyclingFocus(); 370 stopCyclingFocus();
370 371 }
371} 372}
372 373
373/** 374/**