all repos — openbox @ 0ba670065529096f0e0f63c67db8e0a0c5580a9c

openbox fork - make it a bit more like ryudo

even better checks for when to focus new windows. focus dialogs when they are the only member of their group
Dana Jansens danakj@orodu.net
commit

0ba670065529096f0e0f63c67db8e0a0c5580a9c

parent

574dd66b326bb3c5893b6bf6bfe7307229def653

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

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

@@ -271,8 +271,10 @@ would also include dialog types. in this case we want more strict

rules for focus */ if ((config_focus_new && (self->type == Type_Normal || - (self->type == Type_Dialog && (group_foc || - (!parent && !self->group))))) || + (self->type == Type_Dialog && + (group_foc || + (!parent && (!self->group || + !self->group->members->next)))))) || (parent && (client_focused(parent) || search_focus_tree(parent, parent)))) { client_focus(self);