tiled layout resizehints should be respected by default f25cc567
Anselm R Garbe · 2008-06-17 11:19 2 file(s) · +5 −5
config.def.h +2 −2
27 27
};
28 28
29 29
/* layout(s) */
30 -
static float mfact           = 0.55;
31 -
static Bool resizehints       = False;     /* False means respect size hints in tiled resizals */
30 +
static float mfact      = 0.55;
31 +
static Bool resizehints = True; /* False means respect size hints in tiled resizals */
32 32
33 33
static Layout layouts[] = {
34 34
	/* symbol     arrange function */
dwm.c +3 −3
1094 1094
1095 1095
		w = MAX(w, c->minw);
1096 1096
		h = MAX(h, c->minh);
1097 -
		
1098 -
		if (c->maxw)
1097 +
1098 +
		if(c->maxw)
1099 1099
			w = MIN(w, c->maxw);
1100 1100
1101 -
		if (c->maxh)
1101 +
		if(c->maxh)
1102 1102
			h = MIN(h, c->maxh);
1103 1103
	}
1104 1104
	if(w <= 0 || h <= 0)