aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-06-29 18:01:33 (GMT)
committermarkt <markt>2006-06-29 18:01:33 (GMT)
commit9e6c12361113669fad460d66521faaa03102936e (patch)
tree06b5a5426692864c75130ab9407cd0e9eefec3f7 /src/FocusControl.cc
parent03d3c6c99cecf8bf521bea448915017d6879f545 (diff)
downloadfluxbox_pavel-9e6c12361113669fad460d66521faaa03102936e.zip
fluxbox_pavel-9e6c12361113669fad460d66521faaa03102936e.tar.bz2
Fixing my own code
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index f469521..664d41d 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -480,8 +480,7 @@ void FocusControl::setFocusedWindow(WinClient *client) {
480 if (s_focused_window != 0 && 480 if (s_focused_window != 0 &&
481 Fluxbox::instance()->validateClient(s_focused_window)) { 481 Fluxbox::instance()->validateClient(s_focused_window)) {
482 482
483 if (!client || 483 if (!client && s_focused_fbwindow)
484 s_focused_fbwindow && client->fbwindow() != s_focused_fbwindow)
485 s_focused_fbwindow->setFocusFlag(false); 484 s_focused_fbwindow->setFocusFlag(false);
486 485
487 } else { 486 } else {