Do not reset cycle focus when unsetting focus only
Thomas Lübking thomas.luebking@gmail.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/FocusControl.cc
→
src/FocusControl.cc
@@ -589,7 +589,7 @@ (!client || client->fbwindow() == s_focused_fbwindow))
return; BScreen *screen = client ? &client->screen() : 0; - if (screen && screen->focusControl().isCycling()) { + if (client && screen && screen->focusControl().isCycling()) { Focusable *next = screen->focusControl().m_cycling_next; if (next && next != client && screen->focusControl().m_cycling_list->contains(*next)) { // if we're currently cycling and the client tries to juggle around focus