fix _NET_CLIENT_LIST updating on window close
markt markt
2 files changed,
2 insertions(+),
1 deletions(-)
M
src/Ewmh.cc
→
src/Ewmh.cc
@@ -378,7 +378,6 @@ // EWMH says, regarding _NET_WM_STATE and _NET_WM_DESKTOP
// 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);
M
src/FocusControl.cc
→
src/FocusControl.cc
@@ -458,6 +458,7 @@ cyc = *m_cycling_window;
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::removeWindow(Focusable &win) { m_focused_win_list.remove(&win); m_creation_order_win_list.remove(&win); + win.screen().clientListSig().notify(); } void FocusControl::shutdown() {