diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 10:02:49 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 10:02:49 (GMT) |
commit | f5113e2ec1743d76ac414a020f617917c7933bb7 (patch) | |
tree | a613ba0f36a6d1ac58b5eaeff4121756dc25b4a0 /src/fluxbox.cc | |
parent | 75cf24da289fa36f18999e23fe549f1c93483428 (diff) | |
download | fluxbox_lack-f5113e2ec1743d76ac414a020f617917c7933bb7.zip fluxbox_lack-f5113e2ec1743d76ac414a020f617917c7933bb7.tar.bz2 |
no virtuals needed Signals, added leaveAll for SignalTracker which must be used before all screens dies.
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index fa68d00..9e62ac3 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -427,11 +427,10 @@ Fluxbox::~Fluxbox() { | |||
427 | // key commands cause a segfault when the XLayerItem is destroyed | 427 | // key commands cause a segfault when the XLayerItem is destroyed |
428 | m_key.reset(0); | 428 | m_key.reset(0); |
429 | 429 | ||
430 | leaveAll(); // leave all connections | ||
431 | |||
430 | // destroy screens (after others, as they may do screen things) | 432 | // destroy screens (after others, as they may do screen things) |
431 | while (!m_screen_list.empty()) { | 433 | while (!m_screen_list.empty()) { |
432 | // this needs to be done before the signal is destroyed | ||
433 | leave( m_screen_list.back()->workspaceCountSig() ); | ||
434 | |||
435 | delete m_screen_list.back(); | 434 | delete m_screen_list.back(); |
436 | m_screen_list.pop_back(); | 435 | m_screen_list.pop_back(); |
437 | } | 436 | } |