From 53ea8fd780a3b1f19e4d8cecad1980170c2f4d52 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Wed, 14 May 2003 12:08:19 +0000 Subject: update client menu when we remove a client --- src/Screen.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Screen.cc b/src/Screen.cc index a399258..1f4753c 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.164 2003/05/13 21:12:18 fluxgen Exp $ +// $Id: Screen.cc,v 1.165 2003/05/14 12:08:19 fluxgen Exp $ #include "Screen.hh" @@ -1023,6 +1023,10 @@ void BScreen::removeClient(WinClient &client) { else Fluxbox::instance()->revertFocus(focused->screen()); } + // update client lists + for_each(getWorkspacesList().begin(), getWorkspacesList().end(), + mem_fun(&Workspace::updateClientmenu)); + } FluxboxWindow *BScreen::getIcon(unsigned int index) { -- cgit v0.11.2