diff options
author | markt <markt> | 2006-07-25 21:54:58 (GMT) |
---|---|---|
committer | markt <markt> | 2006-07-25 21:54:58 (GMT) |
commit | 9229f8bc9ceae2505d7715cdea6e75aeb1b2c78b (patch) | |
tree | ee9b35fae0e6d557244899fd674fa1ac37d85719 /src/fluxbox.cc | |
parent | 887fea4510e5834197bb70101393fb640a66899a (diff) | |
download | fluxbox-9229f8bc9ceae2505d7715cdea6e75aeb1b2c78b.zip fluxbox-9229f8bc9ceae2505d7715cdea6e75aeb1b2c78b.tar.bz2 |
don't revert focus away from command dialogs
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 | ||