aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 1c3a4f0..61ac45d 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -34,6 +34,7 @@
34#include "BoolMenuItem.hh" 34#include "BoolMenuItem.hh"
35#include "CommandParser.hh" 35#include "CommandParser.hh"
36#include "WinClient.hh" 36#include "WinClient.hh"
37#include "FocusControl.hh"
37 38
38#include "FbTk/I18n.hh" 39#include "FbTk/I18n.hh"
39#include "FbTk/Menu.hh" 40#include "FbTk/Menu.hh"
@@ -948,7 +949,7 @@ void IconbarTool::addList(std::list<FluxboxWindow *> &winlist) {
948} 949}
949 950
950void IconbarTool::timedRender() { 951void IconbarTool::timedRender() {
951 WinClient *client = Fluxbox::instance()->getFocusedWindow(); 952 WinClient *client = FocusControl::focusedWindow();
952 if (client == 0 || client->fbwindow() == 0) 953 if (client == 0 || client->fbwindow() == 0)
953 return; 954 return;
954 955