diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 13:30:09 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 13:30:09 (GMT) |
commit | 72fd5e03a48396e6feec86534d266c68a9edd915 (patch) | |
tree | a822f86184eb84f44db5cda77866ef14800e6f2b /src/fluxbox.hh | |
parent | 38654bae459716409ad2ee7975671fc2f131c869 (diff) | |
download | fluxbox-72fd5e03a48396e6feec86534d266c68a9edd915.zip fluxbox-72fd5e03a48396e6feec86534d266c68a9edd915.tar.bz2 |
revert focus when closing dialogs
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r-- | src/fluxbox.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh index fcbd368..e761eda 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh | |||
@@ -160,7 +160,9 @@ public: | |||
160 | 160 | ||
161 | void timed_reconfigure(); | 161 | void timed_reconfigure(); |
162 | void revertFocus(); | 162 | void revertFocus(); |
163 | void setShowingDialog(bool value) { m_showing_dialog = value; } | 163 | void setShowingDialog(bool value) { |
164 | m_showing_dialog = value; if (!value) revertFocus(); | ||
165 | } | ||
164 | 166 | ||
165 | bool isStartup() const { return m_starting; } | 167 | bool isStartup() const { return m_starting; } |
166 | bool isRestarting() const { return m_restarting; } | 168 | bool isRestarting() const { return m_restarting; } |