mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
showhideclient: focus on client after coming out of hidden/iconic state
This commit is contained in:
parent
c14f40190e
commit
fce55dadcb
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user