all repos — openbox @ be8bc711b2dd61e3171058135e18d1baa39be640

openbox fork - make it a bit more like ryudo

make the Unfocus action do something when config_focus_follow is set
Mikael Magnusson mikachu@comhem.se
commit

be8bc711b2dd61e3171058135e18d1baa39be640

parent

ee778a8299e98a5f6d3bae67eae0528db618858d

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

jump to
M openbox/focus.copenbox/focus.c

@@ -290,7 +290,9 @@ }

} } - if (config_focus_follow && !config_focus_last) { + if (config_focus_follow && + (type == OB_FOCUS_FALLBACK_UNFOCUSING || !config_focus_last)) + { if ((target = client_under_pointer())) if (client_normal(target) && client_can_focus(target)) return target;