Skip to content

Commit 8b48e30

Browse files
cdownhiltjo
authored andcommitted
manage: Make sure c->isfixed is applied before floating checks
Commit 8806b6e ("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.
1 parent a83dc20 commit 8b48e30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dwm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,7 @@ manage(Window w, XWindowAttributes *wa)
10611061
XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColBorder].pixel);
10621062
configure(c); /* propagates border_width, if size doesn't change */
10631063
updatewindowtype(c);
1064+
updatesizehints(c);
10641065
updatewmhints(c);
10651066
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
10661067
grabbuttons(c, 0);

0 commit comments

Comments
 (0)