From 807724db9f024faa4fb9bbeb0e7f8923b794044d Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 9 Nov 2007 04:25:53 +0000 Subject: one more fix again --- src/fluxbox.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 058c858..ddb09e2 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1155,8 +1155,6 @@ void Fluxbox::update(FbTk::Subject *changedsub) { BScreen &screen = client->screen(); - screen.removeClient(*client); - // At this point, we trust that this client is no longer in the // client list of its frame (but it still has reference to the frame) // We also assume that any remaining active one is the last focused one @@ -1170,6 +1168,8 @@ void Fluxbox::update(FbTk::Subject *changedsub) { m_revert_screen = &screen; m_revert_timer.start(); } + + screen.removeClient(*client); } else if (typeid(*changedsub) == typeid(BScreen::ScreenSubject)) { BScreen::ScreenSubject *subj = dynamic_cast(changedsub); BScreen &screen = subj->screen(); -- cgit v0.11.2