projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93ff48
)
Revert "manage: For isfloating/oldstate check/set, ensure trans client actually exists"
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Tue, 26 Apr 2022 08:30:59 +0000
(10:30 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Tue, 26 Apr 2022 08:30:59 +0000
(10:30 +0200)
This reverts commit
bece862a0fc4fc18ef9065b18cd28e2032d0d975
.
It caused a regression, for example:
https://lists.suckless.org/hackers/2203/18220.html
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 0fc328a583c25817a5028a32b07130496c950f32..823bf6bca531a1c280de5da0f7c4b63989acefdd 100644
(file)
--- 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 = t
rans != None
|| c->isfixed;
if (c->isfloating)
XRaiseWindow(dpy, c->win);
attach(c);