diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-04-26 10:30:59 +0200 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-04-26 10:30:59 +0200 |
| commit | a4771de5ba54a38b062a7d748635f21c141b5c7e (patch) | |
| tree | 2ccd2ca1c91f2c1d584a09212c0d8e791ec53d3d | |
| parent | Update monitor positions also on removal (diff) | |
| download | dwm-a4771de5ba54a38b062a7d748635f21c141b5c7e.tar.gz dwm-a4771de5ba54a38b062a7d748635f21c141b5c7e.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
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1065,7 +1065,7 @@ manage(Window w, XWindowAttributes *wa) | |||
| 1065 | XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); | 1065 | XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); |
| 1066 | grabbuttons(c, 0); | 1066 | grabbuttons(c, 0); |
| 1067 | if (!c->isfloating) | 1067 | if (!c->isfloating) |
| 1068 | c->isfloating = c->oldstate = t || c->isfixed; | 1068 | c->isfloating = c->oldstate = trans != None || c->isfixed; |
| 1069 | if (c->isfloating) | 1069 | if (c->isfloating) |
| 1070 | XRaiseWindow(dpy, c->win); | 1070 | XRaiseWindow(dpy, c->win); |
| 1071 | attach(c); | 1071 | attach(c); |
