diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 2cb599b..59859ad 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -222,6 +222,7 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile | |||
222 | m_rc_file(rcfilename ? rcfilename : ""), | 222 | m_rc_file(rcfilename ? rcfilename : ""), |
223 | m_argv(argv), m_argc(argc), | 223 | m_argv(argv), m_argc(argc), |
224 | m_revert_screen(0), | 224 | m_revert_screen(0), |
225 | m_showing_dialog(false), | ||
225 | m_starting(true), | 226 | m_starting(true), |
226 | m_restarting(false), | 227 | m_restarting(false), |
227 | m_shutdown(false), | 228 | m_shutdown(false), |
@@ -1786,7 +1787,7 @@ void Fluxbox::timed_reconfigure() { | |||
1786 | 1787 | ||
1787 | void Fluxbox::revert_focus() { | 1788 | void Fluxbox::revert_focus() { |
1788 | if (m_revert_screen && !FocusControl::focusedWindow() && | 1789 | if (m_revert_screen && !FocusControl::focusedWindow() && |
1789 | !FbTk::Menu::focused()) | 1790 | !FbTk::Menu::focused() && !m_showing_dialog) |
1790 | FocusControl::revertFocus(*m_revert_screen); | 1791 | FocusControl::revertFocus(*m_revert_screen); |
1791 | } | 1792 | } |
1792 | 1793 | ||