]> git.armaanb.net Git - dwm.git/blobdiff - dwm.c
Do not allow focus to drift from fullscreen client via focusstack()
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 664c527f21f852967ba41739fda440429277df84..b0b3466881b84872a6b261cc1ed42afed08ac3bd 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -835,7 +835,7 @@ focusstack(const Arg *arg)
 {
        Client *c = NULL, *i;
 
-       if (!selmon->sel)
+       if (!selmon->sel || selmon->sel->isfullscreen)
                return;
        if (arg->i > 0) {
                for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);