aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.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/WorkspaceCmd.cc
parentf53c93e5e0add69771204056550d07b4fee4efef (diff)
downloadfluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.zip
fluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.tar.bz2
moved all focus handling to FocusControl
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r--src/WorkspaceCmd.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc
index 70044c8..39b415b 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -29,6 +29,7 @@
29#include "Screen.hh" 29#include "Screen.hh"
30#include "fluxbox.hh" 30#include "fluxbox.hh"
31#include "WinClient.hh" 31#include "WinClient.hh"
32#include "FocusControl.hh"
32 33
33#include "FbTk/KeyUtil.hh" 34#include "FbTk/KeyUtil.hh"
34 35
@@ -92,7 +93,7 @@ void DirFocusCmd::execute() {
92 if (screen == 0) 93 if (screen == 0)
93 return; 94 return;
94 95
95 WinClient *client = Fluxbox::instance()->getFocusedWindow(); 96 WinClient *client = FocusControl::focusedWindow();
96 if (client == 0 || client->fbwindow() == 0) 97 if (client == 0 || client->fbwindow() == 0)
97 return; 98 return;
98 99