From a952bd4bdea36c560b724750731ec38ddb7bb6b1 Mon Sep 17 00:00:00 2001 From: JuliusHerrmann Date: Wed, 16 Feb 2022 00:07:56 +0100 Subject: [PATCH] disallow focusing stack when in fullscreen --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index c9c2a3b..fdbee57 100644 --- a/dwm.c +++ b/dwm.c @@ -1017,7 +1017,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);