aboutsummaryrefslogtreecommitdiff
path: root/src/CommandDialog.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/CommandDialog.cc
parentf53c93e5e0add69771204056550d07b4fee4efef (diff)
downloadfluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.zip
fluxbox-5ceacc65925f597180c918fcaa2a8171c42cbcdd.tar.bz2
moved all focus handling to FocusControl
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r--src/CommandDialog.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc
index d3d62d4..aeb9900 100644
--- a/src/CommandDialog.cc
+++ b/src/CommandDialog.cc
@@ -28,7 +28,7 @@
28#include "FbWinFrameTheme.hh" 28#include "FbWinFrameTheme.hh"
29#include "WinClient.hh" 29#include "WinClient.hh"
30#include "CommandParser.hh" 30#include "CommandParser.hh"
31#include "fluxbox.hh" 31#include "FocusControl.hh"
32 32
33#include "FbTk/ImageControl.hh" 33#include "FbTk/ImageControl.hh"
34#include "FbTk/EventManager.hh" 34#include "FbTk/EventManager.hh"
@@ -90,9 +90,9 @@ void CommandDialog::hide() {
90 FbTk::FbWindow::hide(); 90 FbTk::FbWindow::hide();
91 91
92 // return focus to fluxbox window 92 // return focus to fluxbox window
93 if (Fluxbox::instance()->getFocusedWindow() && 93 if (FocusControl::focusedWindow() &&
94 Fluxbox::instance()->getFocusedWindow()->fbwindow()) 94 FocusControl::focusedWindow()->fbwindow())
95 Fluxbox::instance()->getFocusedWindow()->fbwindow()->setInputFocus(); 95 FocusControl::focusedWindow()->fbwindow()->setInputFocus();
96 96
97} 97}
98 98