manage: Make sure c->isfixed is applied before floating checks 8b48e309
Commit 8806b6e23793 ("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.
Chris Down · 2022-04-26 09:42 1 file(s) · +1 −0
dwm.c +1 −0
1061 1061
	XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColBorder].pixel);
1062 1062
	configure(c); /* propagates border_width, if size doesn't change */
1063 1063
	updatewindowtype(c);
1064 +
	updatesizehints(c);
1064 1065
	updatewmhints(c);
1065 1066
	XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
1066 1067
	grabbuttons(c, 0);