dwm

dynamic window manager

git clone https://9o.is/git/dwm.git

commit f747127b786e43158d75c6b69f89cb7def0c9352
parent f41c424da1491579254e53347190ffea60a0242e
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 41a5ec907129a7b2de18e148bc9ec5f22fd3e8c9.

It caused a regression, for example:
https://lists.suckless.org/hackers/2203/18220.html

Diffstat:
Mdwm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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);