about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2009-07-02 20:38:56 +0100
committerAnselm R Garbe <anselm@garbe.us>2009-07-02 20:38:56 +0100
commitcd96232f7e97726413baeb0d411cc5f537575f0e (patch)
tree16ea641c2633c3dea2159d25a55d7f943c99e4c7
parenta9e145fe6d8af4848e6706131ac41e99003cd997 (diff)
downloaddwm-cd96232f7e97726413baeb0d411cc5f537575f0e.tar.gz
hotfix
-rw-r--r--dwm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 613a029..36304c0 100644
--- a/dwm.c
+++ b/dwm.c
@@ -625,9 +625,10 @@ Monitor *
 dirtomon(int dir) {
 	Monitor *m = NULL;
 
-	if(dir > 0)
+	if(dir > 0) {
 		if(!(m = selmon->next))
 			m = mons;
+	}
 	else {
 		if(selmon == mons)
 			for(m = mons; m->next; m = m->next);
@@ -1521,7 +1522,7 @@ tag(const Arg *arg) {
 void
 tagmon(const Arg *arg) {
 	if(!selmon->sel || !mons->next)
-		return
+		return;
 	sendmon(selmon->sel, dirtomon(arg->i));
 }
 
00 committer Anselm R. Garbe <garbeam@wmii.de> 2006-07-13 09:32:22 +0200 added logo+description' href='/acidbong/suckless/dwm/commit/Makefile?h=5.7&id=650a1fb4e1a798aca48a53739f5bb2649191bc1c'>650a1fb ^
dbf7e03 ^



1076f2b



42277b1 ^
5d3fd37 ^
a2d56f6 ^
99b126d ^

1076f2b
650a1fb ^
3d48f33 ^

1076f2b

4d55eee ^
db876f9 ^
dbf7e03 ^

4d55eee ^






dbf7e03 ^

4d55eee ^
dbf7e03 ^
4d55eee ^


dbf7e03 ^
ad4962c ^
4d55eee ^
dbf7e03 ^

4d55eee ^



dc5c070 ^

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