mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
get sel
from focustop() in focusstack()
Fixes: https://github.com/djpohly/dwl/issues/354
This commit is contained in:
parent
c60f651951
commit
94c8bd6048
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -1261,7 +1261,7 @@ void
|
||||||
focusstack(const Arg *arg)
|
focusstack(const Arg *arg)
|
||||||
{
|
{
|
||||||
/* Focus the next or previous client (in tiling order) on selmon */
|
/* Focus the next or previous client (in tiling order) on selmon */
|
||||||
Client *c, *sel = selclient();
|
Client *c, *sel = focustop(selmon);
|
||||||
if (!sel || sel->isfullscreen)
|
if (!sel || sel->isfullscreen)
|
||||||
return;
|
return;
|
||||||
if (arg->i > 0) {
|
if (arg->i > 0) {
|
||||||
|
|
Loading…
Reference in a new issue