From a293057de23d4694dd13e1f154b2db1d98e744e2 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 29 Mar 2022 15:54:24 +0200 Subject: [PATCH] Fixing fullsreen tag swap --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 8dcb41e..84735dd 100644 --- a/dwm.c +++ b/dwm.c @@ -3282,7 +3282,7 @@ view(const Arg *arg) if (arg->ui & TAGMASK) selmon->tagset[selmon->seltags] = arg->ui & TAGMASK; for (Client *c = selmon->cl->clients; c; c = c->next) { - if (!c->isfullscreen) + if (!(c->isfullscreen && c->tags & newtagset)) continue; c->isfullscreen = 0; fs = fs ? NULL : c; // if two clients are fullscreen on the new view, disable fullscreen for every clients.