From 2ef6a7af44a4313c233e764f21fdd6af210c9113 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 24 Oct 2007 17:41:26 +0000 Subject: fix _NET_CLIENT_LIST updating on window close --- src/Ewmh.cc | 1 - src/FocusControl.cc | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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) { // The Window Manager should remove the property whenever a window is withdrawn // but it should leave the property in place when it is shutting down void Ewmh::updateClientClose(WinClient &winclient){ - updateClientList(winclient.screen()); if (!winclient.screen().isShuttingdown()) { XDeleteProperty(FbTk::App::instance()->display(), winclient.window(), 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) { m_focused_list.remove(&client); m_creation_order_list.remove(&client); + client.screen().clientListSig().notify(); if (cyc == &client) { m_cycling_window = m_cycling_list->end(); @@ -468,6 +469,7 @@ void FocusControl::removeClient(WinClient &client) { void FocusControl::removeWindow(Focusable &win) { m_focused_win_list.remove(&win); m_creation_order_win_list.remove(&win); + win.screen().clientListSig().notify(); } void FocusControl::shutdown() { -- cgit v0.11.2