diff options
author | markt <markt> | 2007-10-24 17:41:26 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-24 17:41:26 (GMT) |
commit | 2ef6a7af44a4313c233e764f21fdd6af210c9113 (patch) | |
tree | 8cb7ca97c001a1b047e01271401ef464ac0e06c9 | |
parent | f3afe787c1209cf1357493924a4f7eb7864def54 (diff) | |
download | fluxbox_pavel-2ef6a7af44a4313c233e764f21fdd6af210c9113.zip fluxbox_pavel-2ef6a7af44a4313c233e764f21fdd6af210c9113.tar.bz2 |
fix _NET_CLIENT_LIST updating on window close
-rw-r--r-- | src/Ewmh.cc | 1 | ||||
-rw-r--r-- | src/FocusControl.cc | 2 |
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 |
380 | void Ewmh::updateClientClose(WinClient &winclient){ | 380 | void 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) { | |||
468 | void FocusControl::removeWindow(Focusable &win) { | 469 | void 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 | ||
473 | void FocusControl::shutdown() { | 475 | void FocusControl::shutdown() { |