diff options
author | markt <markt> | 2007-11-04 22:42:01 (GMT) |
---|---|---|
committer | markt <markt> | 2007-11-04 22:42:01 (GMT) |
commit | 4c72b13a880c9c87ddd195a01d5e884436336451 (patch) | |
tree | 4ea07af36477fe9b8c7ffe3a591802f5755d75ea /src | |
parent | ab01fc56fddf6dffcc42e68402c981c192b5ac3e (diff) | |
download | fluxbox_lack-4c72b13a880c9c87ddd195a01d5e884436336451.zip fluxbox_lack-4c72b13a880c9c87ddd195a01d5e884436336451.tar.bz2 |
update autoraise delay for open windows on reconfigure
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 6 | ||||
-rw-r--r-- | src/Window.cc | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index b977d59..0893d68 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -189,7 +189,11 @@ void FocusControl::goToWindowNumber(const Focusables &winlist, int num, | |||
189 | } | 189 | } |
190 | } | 190 | } |
191 | } | 191 | } |
192 | if (last_matched) last_matched->focus(); | 192 | if (last_matched) { |
193 | last_matched->focus(); | ||
194 | if (last_matched->fbwindow()) | ||
195 | last_matched->fbwindow()->raise(); | ||
196 | } | ||
193 | } | 197 | } |
194 | 198 | ||
195 | void FocusControl::addFocusBack(WinClient &client) { | 199 | void FocusControl::addFocusBack(WinClient &client) { |
diff --git a/src/Window.cc b/src/Window.cc index 9184a80..8e46900 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1059,6 +1059,7 @@ void FluxboxWindow::reconfigure() { | |||
1059 | grabButtons(); | 1059 | grabButtons(); |
1060 | 1060 | ||
1061 | frame().setDoubleClickTime(Fluxbox::instance()->getDoubleClickInterval()); | 1061 | frame().setDoubleClickTime(Fluxbox::instance()->getDoubleClickInterval()); |
1062 | m_timer.setTimeout(Fluxbox::instance()->getAutoRaiseDelay()); | ||
1062 | 1063 | ||
1063 | updateButtons(); | 1064 | updateButtons(); |
1064 | frame().reconfigure(); | 1065 | frame().reconfigure(); |