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))
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user