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, 2 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 60615a4..cead827 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -521,7 +521,8 @@ void FocusControl::unfocusWindow(WinClient &client,
521 521
522 522
523void FocusControl::setFocusedWindow(WinClient *client) { 523void FocusControl::setFocusedWindow(WinClient *client) {
524 if (client == s_focused_window) 524 if (client == s_focused_window &&
525 (!client || client->fbwindow() == s_focused_fbwindow))
525 return; 526 return;
526 527
527 BScreen *screen = client ? &client->screen() : 0; 528 BScreen *screen = client ? &client->screen() : 0;