summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index b0b3466..5e4d494 100644
--- a/dwm.c
+++ b/dwm.c
@@ -835,7 +835,7 @@ focusstack(const Arg *arg)
835{ 835{
836 Client *c = NULL, *i; 836 Client *c = NULL, *i;
837 837
838 if (!selmon->sel || selmon->sel->isfullscreen) 838 if (!selmon->sel || (selmon->sel->isfullscreen && lockfullscreen))
839 return; 839 return;
840 if (arg->i > 0) { 840 if (arg->i > 0) {
841 for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next); 841 for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);