Revert "manage: For isfloating/oldstate check/set, ensure trans client actually exists" - dwm - dynamic window manager
 (HTM) git clone https://git.parazyd.org/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a4771de5ba54a38b062a7d748635f21c141b5c7e
 (DIR) parent d93ff48803f04f1363bf303af1d7e6ccc5cb8d3f
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Tue, 26 Apr 2022 10:30:59 +0200
       
       Revert "manage: For isfloating/oldstate check/set, ensure trans client actually exists"
       
       This reverts commit bece862a0fc4fc18ef9065b18cd28e2032d0d975.
       
       It caused a regression, for example:
       https://lists.suckless.org/hackers/2203/18220.html
       
       Diffstat:
         M dwm.c                               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/dwm.c b/dwm.c
       @@ -1065,7 +1065,7 @@ manage(Window w, XWindowAttributes *wa)
                XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
                grabbuttons(c, 0);
                if (!c->isfloating)
       -                c->isfloating = c->oldstate = t || c->isfixed;
       +                c->isfloating = c->oldstate = trans != None || c->isfixed;
                if (c->isfloating)
                        XRaiseWindow(dpy, c->win);
                attach(c);