diff options
| author | bakkeby <[email protected]> | 2020-09-05 15:59:38 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-09-05 15:59:38 +0200 |
| commit | fce55dadcb6bf81550f16ebad7270b99d5d08c47 (patch) | |
| tree | 2212cf7bf8168b650215691cd69a0280ea6cdf09 /patch/bar_wintitleactions.c | |
| parent | c14f40190e230070d0975f3ee3f66bca4da19774 (diff) | |
| download | dwm-flexipatch-fce55dadcb6bf81550f16ebad7270b99d5d08c47.tar.gz dwm-flexipatch-fce55dadcb6bf81550f16ebad7270b99d5d08c47.zip | |
showhideclient: focus on client after coming out of hidden/iconic state
Diffstat (limited to 'patch/bar_wintitleactions.c')
| -rw-r--r-- | patch/bar_wintitleactions.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/patch/bar_wintitleactions.c b/patch/bar_wintitleactions.c index 28dfa55..a9ae3e1 100644 --- a/patch/bar_wintitleactions.c +++ b/patch/bar_wintitleactions.c @@ -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); } |
