mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
floatpos: allowing window size hints to be updated (this may interfere with window float positions)
This commit is contained in:
parent
9edce6b606
commit
fd958dc631
2
dwm.c
2
dwm.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user