diff --git a/dwl.c b/dwl.c index 2f7f2bf..5add915 100644 --- a/dwl.c +++ b/dwl.c @@ -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) {