showhideclient: focus on client after coming out of hidden/iconic state
This commit is contained in:
@ -57,7 +57,7 @@ togglewin(const Arg *arg)
|
|||||||
if (HIDDEN(c))
|
if (HIDDEN(c))
|
||||||
show(c);
|
show(c);
|
||||||
focus(c);
|
focus(c);
|
||||||
restack(selmon);
|
restack(c->mon);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,7 +82,8 @@ showhideclient(const Arg *arg)
|
|||||||
|
|
||||||
if (HIDDEN(c)) {
|
if (HIDDEN(c)) {
|
||||||
show(c);
|
show(c);
|
||||||
restack(selmon);
|
focus(c);
|
||||||
|
restack(c->mon);
|
||||||
} else {
|
} else {
|
||||||
hide(c);
|
hide(c);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user