aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
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