about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.def.h4
-rw-r--r--dwm.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 95bb84c..9bec26b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -27,8 +27,8 @@ static Rule rules[] = {
 };
 
 /* 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 --git a/dwm.c b/dwm.c
index f4b0540..8ae4c0e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1094,11 +1094,11 @@ 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)
abit.com> 2009-12-11 17:13:59 +0100 restructurations' href='/akspecs/ranger/commit/ranger.py?h=v1.8.0&id=3de15ddd7fb0151e5f43f0b8e7d06bd76568e235'>3de15ddd ^
3d566884 ^
a1d7ed6e ^
3d566884 ^
f8e96a97 ^
465bff73 ^





f027adc0 ^
f8e96a97 ^

0b5c4cbe ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36