From f6132b7602263672a97b89a30c6f9efe0355b7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sat, 30 Jul 2016 09:04:54 +0200 Subject: explicitly set s_focusedWindow for cycle protection --- src/FocusControl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 95e8cde..366af34 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc @@ -595,6 +595,8 @@ void FocusControl::setFocusedWindow(WinClient *client) { // if we're currently cycling and the client tries to juggle around focus // on FocusIn events to provide client-side modality - don't let him next->focus(); + if (WinClient *nextClient = dynamic_cast(next)) + setFocusedWindow(nextClient); // doesn't happen automatically while cycling, 1148 return; } } -- cgit v0.11.2