explicitly set s_focusedWindow for cycle protection
Thomas Lübking thomas.luebking@gmail.com
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/FocusControl.cc
→
src/FocusControl.cc
@@ -595,6 +595,8 @@ if (next && next != client && screen->focusControl().m_cycling_list->contains(*next)) {
// 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<WinClient*>(next)) + setFocusedWindow(nextClient); // doesn't happen automatically while cycling, 1148 return; } }