aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
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 {