Xinqi Bao's Git

Add a configuration option for fullscreen locking
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index b0b3466..5e4d494 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -835,7 +835,7 @@ focusstack(const Arg *arg)
 {
        Client *c = NULL, *i;
 
-       if (!selmon->sel || selmon->sel->isfullscreen)
+       if (!selmon->sel || (selmon->sel->isfullscreen && lockfullscreen))
                return;
        if (arg->i > 0) {
                for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);