disallow focusing stack when in fullscreen

This commit is contained in:
JuliusHerrmann 2022-02-16 00:07:56 +01:00
parent 570154300c
commit a952bd4bde

2
dwm.c
View File

@ -1017,7 +1017,7 @@ focusstack(const Arg *arg)
{ {
Client *c = NULL, *i; Client *c = NULL, *i;
if (!selmon->sel) if (!selmon->sel || selmon->sel->isfullscreen)
return; return;
if (arg->i > 0) { if (arg->i > 0) {
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next); for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);