opt: allow foucstack next when fullscreen client has children
This commit is contained in:
@@ -192,7 +192,7 @@ focusstack(const Arg *arg) {
|
|||||||
Client *sel = focustop(selmon);
|
Client *sel = focustop(selmon);
|
||||||
Client *tc = NULL;
|
Client *tc = NULL;
|
||||||
|
|
||||||
if (!sel || sel->isfullscreen)
|
if (!sel || (sel->isfullscreen && !client_has_children(sel)))
|
||||||
return;
|
return;
|
||||||
if (arg->i == NEXT) {
|
if (arg->i == NEXT) {
|
||||||
tc = get_next_stack_client(sel, false);
|
tc = get_next_stack_client(sel, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user