aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-04-29 12:39:45 (GMT)
committerrathnor <rathnor>2003-04-29 12:39:45 (GMT)
commit6b125d1c6046ed1ec1fca92c371f3b7c39449755 (patch)
tree17ba34c6087d6727a9debc82eb48aa111b9ef9fe /src/fluxbox.cc
parentc8acedf1a8bdad2686eb597cdc0b8608f6672aa4 (diff)
downloadfluxbox-6b125d1c6046ed1ec1fca92c371f3b7c39449755.zip
fluxbox-6b125d1c6046ed1ec1fca92c371f3b7c39449755.tar.bz2
reconfigure fix (setFocusedWindow didn't check if win already focused)
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 65defc7..1886aa0 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.124 2003/04/28 13:34:38 rathnor Exp $ 25// $Id: fluxbox.cc,v 1.125 2003/04/29 12:39:45 rathnor Exp $
26 26
27#include "fluxbox.hh" 27#include "fluxbox.hh"
28 28
@@ -2220,6 +2220,8 @@ void Fluxbox::timeout() {
2220 2220
2221// set focused window 2221// set focused window
2222void Fluxbox::setFocusedWindow(FluxboxWindow *win) { 2222void Fluxbox::setFocusedWindow(FluxboxWindow *win) {
2223 // already focused
2224 if (m_focused_window == win) return;
2223 BScreen *old_screen = 0, *screen = 0; 2225 BScreen *old_screen = 0, *screen = 0;
2224 FluxboxWindow *old_win = 0; 2226 FluxboxWindow *old_win = 0;
2225 Toolbar *old_tbar = 0, *tbar = 0; 2227 Toolbar *old_tbar = 0, *tbar = 0;