apply resize hints in floating layout

This commit is contained in:
Connor Lane Smith 2011-10-25 20:08:08 +01:00
parent 2b625eb73e
commit f68a01cd76

2
dwm.c
View file

@ -349,7 +349,7 @@ applysizehints(Client *c, int *x, int *y, int *w, int *h, Bool interact) {
*h = bh; *h = bh;
if(*w < bh) if(*w < bh)
*w = bh; *w = bh;
if(resizehints || c->isfloating) { if(resizehints || c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) {
/* see last two sentences in ICCCM 4.1.2.3 */ /* see last two sentences in ICCCM 4.1.2.3 */
baseismin = c->basew == c->minw && c->baseh == c->minh; baseismin = c->basew == c->minw && c->baseh == c->minh;
if(!baseismin) { /* temporarily remove base dimensions */ if(!baseismin) { /* temporarily remove base dimensions */