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 | |
parent | ab01fc56fddf6dffcc42e68402c981c192b5ac3e (diff) | |
download | fluxbox_pavel-4c72b13a880c9c87ddd195a01d5e884436336451.zip fluxbox_pavel-4c72b13a880c9c87ddd195a01d5e884436336451.tar.bz2 |
update autoraise delay for open windows on reconfigure
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/FocusControl.cc | 6 | ||||
-rw-r--r-- | src/Window.cc | 1 |
3 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0.1: | 2 | Changes for 1.0.1: |
3 | *07/11/04: | ||
4 | * Update autoraise delay on reconfigure (Mark) | ||
5 | Window.cc | ||
3 | *07/10/31: | 6 | *07/10/31: |
4 | * Move fullscreen windows to normal layer when they lose focus (Mark) | 7 | * Move fullscreen windows to normal layer when they lose focus (Mark) |
5 | Window.cc FocusControl.cc | 8 | Window.cc FocusControl.cc |
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(); |