# HG changeset patch # User Anselm R Garbe # Date 1213697957 -3600 # Node ID 226e616bc12308edbddf77756c671edd1e006c02 # Parent 14929bfb87389c7243e869f9ee213420bfbe0083 tiled layout resizehints should be respected by default diff -r 14929bfb8738 -r 226e616bc123 config.def.h --- 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 */ diff -r 14929bfb8738 -r 226e616bc123 dwm.c --- 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)