diff options
author | fluxgen <fluxgen> | 2006-02-18 20:19:22 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-02-18 20:19:22 (GMT) |
commit | 5ceacc65925f597180c918fcaa2a8171c42cbcdd (patch) | |
tree | 1cee0d151c5368ee69bf4e0e432d0f7f6af37b38 /src/CommandDialog.cc | |
parent | f53c93e5e0add69771204056550d07b4fee4efef (diff) | |
download | fluxbox_pavel-5ceacc65925f597180c918fcaa2a8171c42cbcdd.zip fluxbox_pavel-5ceacc65925f597180c918fcaa2a8171c42cbcdd.tar.bz2 |
moved all focus handling to FocusControl
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r-- | src/CommandDialog.cc | 8 |
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 | ||