diff options
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 8c7049e..07e76f0 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "WinClient.hh" | 32 | #include "WinClient.hh" |
33 | #include "FbWinFrame.hh" | 33 | #include "FbWinFrame.hh" |
34 | #include "WindowCmd.hh" | 34 | #include "WindowCmd.hh" |
35 | #include "FocusControl.hh" | ||
35 | 36 | ||
36 | #include "FbTk/I18n.hh" | 37 | #include "FbTk/I18n.hh" |
37 | #include "FbTk/MenuItem.hh" | 38 | #include "FbTk/MenuItem.hh" |
@@ -207,7 +208,7 @@ int Workspace::removeWindow(FluxboxWindow *w, bool still_alive) { | |||
207 | } | 208 | } |
208 | 209 | ||
209 | if (w->isFocused() && still_alive) | 210 | if (w->isFocused() && still_alive) |
210 | Fluxbox::instance()->unfocusWindow(w->winClient(), true, true); | 211 | FocusControl::unfocusWindow(w->winClient(), true, true); |
211 | 212 | ||
212 | // we don't remove it from the layermanager, as it may be being moved | 213 | // we don't remove it from the layermanager, as it may be being moved |
213 | Windows::iterator erase_it = remove(m_windowlist.begin(), | 214 | Windows::iterator erase_it = remove(m_windowlist.begin(), |