do not lock focus against unfocusing. Latter happens when eg. closing windows, including such with locked focus
Thomas Lübking thomas.luebking@gmail.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/FocusControl.cc
→
src/FocusControl.cc
@@ -599,7 +599,7 @@ return;
} } - if (client != expectingFocus() && s_focused_window && + if (client && client != expectingFocus() && s_focused_window && ((s_focused_fbwindow->focusProtection() & Focus::Lock) || (client && client->fbwindow() && (client->fbwindow()->focusProtection() & Focus::Deny)))) { s_focused_window->focus();