diff options
author | markt <markt> | 2007-11-09 04:25:53 (GMT) |
---|---|---|
committer | markt <markt> | 2007-11-09 04:25:53 (GMT) |
commit | 807724db9f024faa4fb9bbeb0e7f8923b794044d (patch) | |
tree | 6cbce86f9244fc9b1342843c24031436dc50f7ab | |
parent | 8d4a6d5181aff0f0ca87b9709da7b4fba842f30e (diff) | |
download | fluxbox_paul-807724db9f024faa4fb9bbeb0e7f8923b794044d.zip fluxbox_paul-807724db9f024faa4fb9bbeb0e7f8923b794044d.tar.bz2 |
one more fix again
-rw-r--r-- | src/fluxbox.cc | 4 |
1 files 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) { | |||
1155 | 1155 | ||
1156 | BScreen &screen = client->screen(); | 1156 | BScreen &screen = client->screen(); |
1157 | 1157 | ||
1158 | screen.removeClient(*client); | ||
1159 | |||
1160 | // At this point, we trust that this client is no longer in the | 1158 | // At this point, we trust that this client is no longer in the |
1161 | // client list of its frame (but it still has reference to the frame) | 1159 | // client list of its frame (but it still has reference to the frame) |
1162 | // We also assume that any remaining active one is the last focused one | 1160 | // We also assume that any remaining active one is the last focused one |
@@ -1170,6 +1168,8 @@ void Fluxbox::update(FbTk::Subject *changedsub) { | |||
1170 | m_revert_screen = &screen; | 1168 | m_revert_screen = &screen; |
1171 | m_revert_timer.start(); | 1169 | m_revert_timer.start(); |
1172 | } | 1170 | } |
1171 | |||
1172 | screen.removeClient(*client); | ||
1173 | } else if (typeid(*changedsub) == typeid(BScreen::ScreenSubject)) { | 1173 | } else if (typeid(*changedsub) == typeid(BScreen::ScreenSubject)) { |
1174 | BScreen::ScreenSubject *subj = dynamic_cast<BScreen::ScreenSubject *>(changedsub); | 1174 | BScreen::ScreenSubject *subj = dynamic_cast<BScreen::ScreenSubject *>(changedsub); |
1175 | BScreen &screen = subj->screen(); | 1175 | BScreen &screen = subj->screen(); |