summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2022-04-26 17:22:11 +0200
committerbakkeby <[email protected]>2022-04-26 17:22:11 +0200
commit38f709fea5fe2027892cd784110c639a17724fec (patch)
tree1b0eb54b1785a21b9b2a2d3d4b761f9d24e96243 /dwm.c
parent49fc922f0df673527d5779ce5cafa1f51832cdcc (diff)
downloaddwm-flexipatch-38f709fea5fe2027892cd784110c639a17724fec.tar.gz
dwm-flexipatch-38f709fea5fe2027892cd784110c639a17724fec.zip
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 Ref. https://git.suckless.org/dwm/commit/a4771de5ba54a38b062a7d748635f21c141b5c7e.html
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index fd7587c..a4e25ef 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2439,7 +2439,7 @@ manage(Window w, XWindowAttributes *wa)
#endif // MAXIMIZE_PATCH / EXRESIZE_PATCH
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);
XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColFloat].pixel);