about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-02-20 13:48:52 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-02-20 13:48:52 +0000
commit4426032450777e63ac9a8967cd67382497954c51 (patch)
tree07bfbb35fc96ccc78478ed7384ea5ea4dd25740c
parente0f039789643381485dab5c467f66db5162d4f63 (diff)
downloaddwm-4426032450777e63ac9a8967cd67382497954c51.tar.gz
applied Jukka's zoom-patch
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 363c202..66daba3 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2009,11 +2009,11 @@ viewprevtag(const char *arg) {
 
 void
 zoom(const char *arg) {
-	Client *c;
+	Client *c = sel;
 
 	if(!sel || !dozoom || sel->isfloating)
 		return;
-	if((c = sel) == nexttiled(clients, c->monitor))
+	if(c == nexttiled(clients, c->monitor))
 		if(!(c = nexttiled(c->next, c->monitor)))
 			return;
 	detach(c);
c8c8d6224acd24f04d147ef761'>^
df1d1ef ^



c896e6b ^


df1d1ef ^
37be25f ^

df1d1ef ^





4f0847b ^
df1d1ef ^
37be25f ^
df1d1ef ^


37be25f ^

df1d1ef ^



bce5265 ^



df1d1ef ^
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66