From 7a754e4c6dab4ed570c3b8b581a91b7aa404f9d8 Mon Sep 17 00:00:00 2001 From: Jakub Date: Tue, 21 May 2024 00:28:01 -0400 Subject: [PATCH] un fullscreen windows when new window spawns --- dwm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dwm.c b/dwm.c index c779a76..4018f67 100644 --- a/dwm.c +++ b/dwm.c @@ -1446,6 +1446,8 @@ manage(Window w, XWindowAttributes *wa) XMoveResizeWindow(dpy, c->win, c->x + 2 * sw, c->y, c->w, c->h); /* some windows require this */ if (!HIDDEN(c)) setclientstate(c, NormalState); + if (selmon->sel && selmon->sel->isfullscreen) + setfullscreen(selmon->sel, 0); if (c->mon == selmon) unfocus(selmon->sel, 0); c->mon->sel = c;