dwm
dynamic window manager
git clone https://9o.is/git/dwm.git
commit 77298e68c4cfe6836c4e8a4b165bfaa0ba171a31
parent 08a37324fce7db4d751c5987436193082b7cd4e1
Author: Chris Down <chris@chrisdown.name>
Date: Tue, 26 Apr 2022 09:42:23 +0100
manage: Make sure c->isfixed is applied before floating checks
Commit b274e4936373 ("manage: propertynotify: Reduce cost of unused size
hints") mistakenly removed an early size hints update that's needed to
populate c->isfixed for floating checks at manage() time. This resulted
in fixed (size hint min dimensions == max dimensions) subset of windows
not floating when they should.
See https://lists.suckless.org/dev/2204/34730.html for discussion.
Diffstat:
| M | dwm.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dwm.c b/dwm.c @@ -1061,6 +1061,7 @@ manage(Window w, XWindowAttributes *wa) XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColBorder].pixel); configure(c); /* propagates border_width, if size doesn't change */ updatewindowtype(c); + updatesizehints(c); updatewmhints(c); XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); grabbuttons(c, 0);