--- a/config.def.h Tue Jun 17 09:57:13 2008 +0100
+++ b/config.def.h Tue Jun 17 11:19:17 2008 +0100
@@ -27,8 +27,8 @@
};
/* 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 */
--- a/dwm.c Tue Jun 17 09:57:13 2008 +0100
+++ b/dwm.c Tue Jun 17 11:19:17 2008 +0100
@@ -1094,11 +1094,11 @@
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)