tiled layout resizehints should be respected by default

master
Anselm R Garbe 2008-06-17 11:19:17 +01:00
parent 5a92420fce
commit f25cc5678f
2 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ static Rule rules[] = {
/* layout(s) */
static float mfact = 0.55;
static Bool resizehints = False; /* False means respect size hints in tiled resizals */
static Bool resizehints = True; /* False means respect size hints in tiled resizals */
static Layout layouts[] = {
/* symbol arrange function */

4
dwm.c
View File

@ -1095,10 +1095,10 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
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)