diff --git a/config.def.h b/config.def.h index 59ca4c0..8970738 100644 --- a/config.def.h +++ b/config.def.h @@ -39,7 +39,6 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ -static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { /* symbol arrange function */ diff --git a/dwm.c b/dwm.c index 77063dc..6d6c344 100644 --- a/dwm.c +++ b/dwm.c @@ -386,7 +386,7 @@ applysizehints(Client *c, int *x, int *y, int *w, int *h, int bw, int interact) *h = bh; if (*w < bh) *w = bh; - if (resizehints || c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) { + if (c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) { /* see last two sentences in ICCCM 4.1.2.3 */ baseismin = c->basew == c->minw && c->baseh == c->minh; if (!baseismin) { /* temporarily remove base dimensions */