about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index ac201e6..ce122ed 100644
--- a/view.c
+++ b/view.c
@@ -41,7 +41,7 @@ reorder()
 static Client *
 nexttiled(Client *c)
 {
-	for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
+	for(c = getnext(c); c && c->isfloat; c = getnext(c->next));
 	return c;
 }
 
@@ -325,7 +325,7 @@ zoom(Arg *arg)
 		return;
 
 	if((c = sel) == nexttiled(clients))
-		if(!(c = nexttiled(c)))
+		if(!(c = nexttiled(c->next)))
 			return;
 	detach(c);
 	c->next = clients;
gt; 2010-01-08 17:35:56 +0100 added license information' href='/akspecs/ranger/commit/ranger/__init__.py?id=b4c2c703f9acdf39cbd47407ed51a7e7c807ba7d'>b4c2c703 ^
e8b8190d ^
a36bfd7b ^
65cb1a32 ^
e07d8b03 ^
811b7c28 ^
60a6b7e6 ^
e07d8b03 ^
811b7c28 ^
65cb1a32 ^
e07d8b03 ^
a36bfd7b ^
7bf5f967 ^

8d6c23f7 ^
7bf5f967 ^
0d60aaaa ^
8c4f4189 ^
7bf5f967 ^
e8b8190d ^
7bf5f967 ^




0d1b5bac ^









8a13baa3 ^



0d1b5bac ^








7bf5f967 ^
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