diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-09 20:55:58 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-09 20:55:58 -0600 |
commit | 94c8bd604870365bc201524b63158623e6f32a8f (patch) | |
tree | 14a89fbefc4df99b2bf55354cc319cb4da7e52ec | |
parent | c60f65195186e6c72ec66ba7f10139a420a595a0 (diff) |
get `sel` from focustop() in focusstack()
Fixes: https://github.com/djpohly/dwl/issues/354
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1261,7 +1261,7 @@ void focusstack(const Arg *arg) { /* Focus the next or previous client (in tiling order) on selmon */ - Client *c, *sel = selclient(); + Client *c, *sel = focustop(selmon); if (!sel || sel->isfullscreen) return; if (arg->i > 0) { |