showhideclient: focus on client after coming out of hidden/iconic state

This commit is contained in:
bakkeby 2020-09-05 15:59:38 +02:00
parent c14f40190e
commit fce55dadcb

View File

@ -57,7 +57,7 @@ togglewin(const Arg *arg)
if (HIDDEN(c))
show(c);
focus(c);
restack(selmon);
restack(c->mon);
}
}
@ -82,7 +82,8 @@ showhideclient(const Arg *arg)
if (HIDDEN(c)) {
show(c);
restack(selmon);
focus(c);
restack(c->mon);
} else {
hide(c);
}