diff options
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 | } |