aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.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/IconbarTool.cc
parentf53c93e5e0add69771204056550d07b4fee4efef (diff)
downloadfluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.zip
fluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.tar.bz2
moved all focus handling to FocusControl
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