summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Ewmh.cc1
-rw-r--r--src/FocusControl.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 11da267..5483b8e 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -378,7 +378,6 @@ void Ewmh::updateFocusedWindow(BScreen &screen, Window win) {
378// The Window Manager should remove the property whenever a window is withdrawn 378// The Window Manager should remove the property whenever a window is withdrawn
379// but it should leave the property in place when it is shutting down 379// but it should leave the property in place when it is shutting down
380void Ewmh::updateClientClose(WinClient &winclient){ 380void Ewmh::updateClientClose(WinClient &winclient){
381 updateClientList(winclient.screen());
382 if (!winclient.screen().isShuttingdown()) { 381 if (!winclient.screen().isShuttingdown()) {
383 XDeleteProperty(FbTk::App::instance()->display(), winclient.window(), 382 XDeleteProperty(FbTk::App::instance()->display(), winclient.window(),
384 m_net_wm_state); 383 m_net_wm_state);
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 2ab51eb..27ef999 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -458,6 +458,7 @@ void FocusControl::removeClient(WinClient &client) {
458 458
459 m_focused_list.remove(&client); 459 m_focused_list.remove(&client);
460 m_creation_order_list.remove(&client); 460 m_creation_order_list.remove(&client);
461 client.screen().clientListSig().notify();
461 462
462 if (cyc == &client) { 463 if (cyc == &client) {
463 m_cycling_window = m_cycling_list->end(); 464 m_cycling_window = m_cycling_list->end();
@@ -468,6 +469,7 @@ void FocusControl::removeClient(WinClient &client) {
468void FocusControl::removeWindow(Focusable &win) { 469void FocusControl::removeWindow(Focusable &win) {
469 m_focused_win_list.remove(&win); 470 m_focused_win_list.remove(&win);
470 m_creation_order_win_list.remove(&win); 471 m_creation_order_win_list.remove(&win);
472 win.screen().clientListSig().notify();
471} 473}
472 474
473void FocusControl::shutdown() { 475void FocusControl::shutdown() {