about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-18 11:38:31 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-18 11:38:31 +0200
commit4f8b08d330a6c377ab919f48b8e922d1c5ded601 (patch)
treebcfed5668645ef87fd2b7c3ff0d757912169f016 /client.c
parent849e631510ed6533ac930449804e477fe67a43c2 (diff)
downloaddwm-4f8b08d330a6c377ab919f48b8e922d1c5ded601.tar.gz
added heretag command which allows to tag a client of a foreign tag with current tag
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c
index 69189de..166e979 100644
--- a/client.c
+++ b/client.c
@@ -66,8 +66,8 @@ focusnext(Arg *arg)
 	if(!sel)
 		return;
 
-	if(!(c = getnext(sel->next)))
-		c = getnext(clients);
+	if(!(c = getnext(sel->next, tsel)))
+		c = getnext(clients, tsel);
 	if(c) {
 		higher(c);
 		c->revert = sel;
@@ -410,8 +410,8 @@ zoom(Arg *arg)
 	if(!sel)
 		return;
 
-	if(sel == getnext(clients) && sel->next)  {
-		if((c = getnext(sel->next)))
+	if(sel == getnext(clients, tsel) && sel->next)  {
+		if((c = getnext(sel->next, tsel)))
 			sel = c;
 	}
 
>
f2544a3 ^


5364697 ^

f2544a3 ^
7af4d43 ^

f2544a3 ^

f2544a3 ^
7af4d43 ^


f2544a3 ^

7af4d43 ^



f2544a3 ^
7af4d43 ^


5364697 ^

7af4d43 ^

f2544a3 ^

7af4d43 ^

f2544a3 ^

7af4d43 ^

f2544a3 ^

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