mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
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
This commit is contained in:
parent
49fc922f0d
commit
38f709fea5
2
dwm.c
2
dwm.c
@ -2439,7 +2439,7 @@ manage(Window w, XWindowAttributes *wa)
|
|||||||
#endif // MAXIMIZE_PATCH / EXRESIZE_PATCH
|
#endif // MAXIMIZE_PATCH / EXRESIZE_PATCH
|
||||||
|
|
||||||
if (!c->isfloating)
|
if (!c->isfloating)
|
||||||
c->isfloating = c->oldstate = t || c->isfixed;
|
c->isfloating = c->oldstate = trans != None || c->isfixed;
|
||||||
if (c->isfloating) {
|
if (c->isfloating) {
|
||||||
XRaiseWindow(dpy, c->win);
|
XRaiseWindow(dpy, c->win);
|
||||||
XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColFloat].pixel);
|
XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColFloat].pixel);
|
||||||
|
Loading…
Reference in New Issue
Block a user