From 635f14e5c9cfe5fff46bc71da0b657f8a94bfc8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 17 Jul 2016 15:42:24 +0200 Subject: Do not protect focus while cycling We've better things to do and the focus is moving around anyway BUG: 1048 --- src/FocusControl.cc | 1 + 1 file changed, 1 insertion(+) 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) { } if (client && client != expectingFocus() && s_focused_window && + (!(screen && screen->focusControl().isCycling())) && ((s_focused_fbwindow->focusProtection() & Focus::Lock) || (client && client->fbwindow() && (client->fbwindow()->focusProtection() & Focus::Deny)))) { s_focused_window->focus(); -- cgit v0.11.2