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