all repos — dwm @ f25cc5678fcc405a55df7f49e7b3189241933a97

my dwm build

tiled layout resizehints should be respected by default
Anselm R Garbe garbeam@gmail.com
Tue, 17 Jun 2008 11:19:17 +0100
commit

f25cc5678fcc405a55df7f49e7b3189241933a97

parent

5a92420fce8d70a329a8294c1c77bb8c3c7eaad4

2 files changed, 5 insertions(+), 5 deletions(-)

jump to
M config.def.hconfig.def.h

@@ -27,8 +27,8 @@ { "Firefox", NULL, NULL, 1 << 8, True },

}; /* layout(s) */ -static float mfact = 0.55; -static Bool resizehints = False; /* False means respect size hints in tiled resizals */ +static float mfact = 0.55; +static Bool resizehints = True; /* False means respect size hints in tiled resizals */ static Layout layouts[] = { /* symbol arrange function */
M dwm.cdwm.c

@@ -1094,11 +1094,11 @@ h += c->baseh;

w = MAX(w, c->minw); h = MAX(h, c->minh); - - if (c->maxw) + + if(c->maxw) w = MIN(w, c->maxw); - if (c->maxh) + if(c->maxh) h = MIN(h, c->maxh); } if(w <= 0 || h <= 0)