aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FocusControl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 3f8aac5..cdc46cf 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -521,6 +521,9 @@ 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)
525 return;
526
524 BScreen *screen = client ? &client->screen() : 0; 527 BScreen *screen = client ? &client->screen() : 0;
525 BScreen *old_screen = 528 BScreen *old_screen =
526 FocusControl::focusedWindow() ? 529 FocusControl::focusedWindow() ?