floatpos: allowing window size hints to be updated (this may interfere with window float positions)

This commit is contained in:
bakkeby 2021-05-06 12:08:27 +02:00
parent 9edce6b606
commit fd958dc631

2
dwm.c
View File

@ -2358,9 +2358,7 @@ manage(Window w, XWindowAttributes *wa)
XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColBorder].pixel); XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColBorder].pixel);
#endif // BAR_FLEXWINTITLE_PATCH #endif // BAR_FLEXWINTITLE_PATCH
configure(c); /* propagates border_width, if size doesn't change */ configure(c); /* propagates border_width, if size doesn't change */
#if !FLOATPOS_PATCH
updatesizehints(c); updatesizehints(c);
#endif // FLOATPOS_PATCH
if (getatomprop(c, netatom[NetWMState]) == netatom[NetWMFullscreen]) if (getatomprop(c, netatom[NetWMState]) == netatom[NetWMFullscreen])
setfullscreen(c, 1); setfullscreen(c, 1);
updatewmhints(c); updatewmhints(c);