about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-14 09:09:18 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-14 09:09:18 +0100
commite256afe31ef6a70eceb632ddfe717bfe6d8d9169 (patch)
treec42d38a69d3787c83176169d73be22e859da0f52 /view.c
parent64cfebc5e7d005dfff93a2468df860522fad085a (diff)
downloaddwm-e256afe31ef6a70eceb632ddfe717bfe6d8d9169.tar.gz
made for/if/else constructs more consistent, some code polishing
Diffstat (limited to 'view.c')
-rw-r--r--view.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/view.c b/view.c
index ded304e..8164446 100644
--- a/view.c
+++ b/view.c
@@ -55,9 +55,8 @@ dofloat(void) {
 	Client *c;
 
 	for(c = clients; c; c = c->next) {
-		if(isvisible(c)) {
+		if(isvisible(c))
 			resize(c, True);
-		}
 		else
 			XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
 	}
@@ -150,7 +149,7 @@ focusprev(Arg *arg) {
 void
 incnmaster(Arg *arg) {
 	if((arrange == dofloat) || (nmaster + arg->i < 1)
-		|| (wah / (nmaster + arg->i) <= 2 * BORDERPX))
+	|| (wah / (nmaster + arg->i) <= 2 * BORDERPX))
 		return;
 	nmaster += arg->i;
 	if(sel)
@@ -175,7 +174,7 @@ resizemaster(Arg *arg) {
 		master = MASTER;
 	else {
 		if(waw * (master + arg->i) / 1000 >= waw - 2 * BORDERPX
-			|| waw * (master + arg->i) / 1000 <= 2 * BORDERPX)
+		|| waw * (master + arg->i) / 1000 <= 2 * BORDERPX)
 			return;
 		master += arg->i;
 	}
author Robert Günzler <r@gnzler.io> 2019-06-08 19:41:56 +0200 committer Drew DeVault <sir@cmpwn.com> 2019-06-09 11:33:50 -0400 Add archive command' href='/akspecs/aerc/commit/config/binds.conf?h=0.6.0&id=acfe7d7625192bc856d5d696f741e35ce38cab25'>acfe7d7 ^
f5bf4a9 ^
10a3d9d ^

11a569f ^



6c03596 ^
f5bf4a9 ^

67ddaea ^
04d9ab3 ^

91a75cd ^
f81e4bd ^
91a75cd ^


5d0402a ^
04d9ab3 ^

0ec970b ^
0494c9a ^



6353897 ^



0494c9a ^

0897413 ^

0494c9a ^

04d9ab3 ^
577248f ^
f77d7c2 ^

702ad43 ^
f77d7c2 ^





577248f ^
687f1d8 ^
577248f ^




f77d7c2 ^



887ff65 ^
52b3181 ^
8b2abcb ^
f77d7c2 ^
04d9ab3 ^

687f1d8 ^
04d9ab3 ^


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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99