aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 3d9cc58..dd1c391 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1227,8 +1227,8 @@ void Fluxbox::update(FbTk::Subject *changedsub) {
1227 // make sure each workspace get this 1227 // make sure each workspace get this
1228 BScreen &scr = win.screen(); 1228 BScreen &scr = win.screen();
1229 scr.removeWindow(&win); 1229 scr.removeWindow(&win);
1230 if (FocusControl::focusedWindow() == &win.winClient()) 1230 if (FocusControl::focusedFbWindow() == &win)
1231 FocusControl::setFocusedWindow(0); 1231 FocusControl::setFocusedFbWindow(0);
1232 1232
1233 } else if ((&(win.workspaceSig())) == changedsub) { // workspace signal 1233 } else if ((&(win.workspaceSig())) == changedsub) { // workspace signal
1234 for (AtomHandlerContainerIt it= m_atomhandler.begin(); 1234 for (AtomHandlerContainerIt it= m_atomhandler.begin();