diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 736d81a..b319d78 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -600,6 +600,7 @@ void FocusControl::setFocusedWindow(WinClient *client) { | |||
600 | } | 600 | } |
601 | 601 | ||
602 | if (client && client != expectingFocus() && s_focused_window && | 602 | if (client && client != expectingFocus() && s_focused_window && |
603 | (!(screen && screen->focusControl().isCycling())) && | ||
603 | ((s_focused_fbwindow->focusProtection() & Focus::Lock) || | 604 | ((s_focused_fbwindow->focusProtection() & Focus::Lock) || |
604 | (client && client->fbwindow() && (client->fbwindow()->focusProtection() & Focus::Deny)))) { | 605 | (client && client->fbwindow() && (client->fbwindow()->focusProtection() & Focus::Deny)))) { |
605 | s_focused_window->focus(); | 606 | s_focused_window->focus(); |