aboutsummaryrefslogtreecommitdiff
path: root/src/CommandDialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r--src/CommandDialog.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc
index aeb9900..f28d789 100644
--- a/src/CommandDialog.cc
+++ b/src/CommandDialog.cc
@@ -90,9 +90,8 @@ 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 (FocusControl::focusedWindow() && 93 if (FocusControl::focusedFbWindow())
94 FocusControl::focusedWindow()->fbwindow()) 94 FocusControl::focusedFbWindow()->setInputFocus();
95 FocusControl::focusedWindow()->fbwindow()->setInputFocus();
96 95
97} 96}
98 97