all repos — fluxbox @ 2758485d356447fde88c20007e32cc006c1c6ef3

custom fork of the fluxbox windowmanager

do not lock focus against unfocusing.

Latter happens when eg. closing windows, including such with
locked focus
Thomas Lübking thomas.luebking@gmail.com
commit

2758485d356447fde88c20007e32cc006c1c6ef3

parent

34bf7d31c4f3997893cc76e3e5c78b2ccf91eecf

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/FocusControl.ccsrc/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();