aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-02-18 20:19:22 (GMT)
committerfluxgen <fluxgen>2006-02-18 20:19:22 (GMT)
commit5ceacc65925f597180c918fcaa2a8171c42cbcdd (patch)
tree1cee0d151c5368ee69bf4e0e432d0f7f6af37b38 /src/Workspace.cc
parentf53c93e5e0add69771204056550d07b4fee4efef (diff)
downloadfluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.zip
fluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.tar.bz2
moved all focus handling to FocusControl
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc3
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(),