~ruther/dwl

94c8bd604870365bc201524b63158623e6f32a8f — Leonardo Hernández Hernández 2 years ago c60f651
get `sel` from focustop() in focusstack()

Fixes: https://github.com/djpohly/dwl/issues/354
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 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) {