about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@suckless.org <unknown>2007-10-23 09:38:47 +0200
committerarg@suckless.org <unknown>2007-10-23 09:38:47 +0200
commit7b65b763bc5ef74071b48192e7174ba8a103bee0 (patch)
treee2cc520a2737dabb3dc81dcc39b87e71174e71fa
parente94774dd6929f2f22c620ebecb42775a193f2e0e (diff)
downloaddwm-7b65b763bc5ef74071b48192e7174ba8a103bee0.tar.gz
parenthized use of ISTILE macro in dwm.c
-rw-r--r--dwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index 79d7214..67fa0a7 100644
--- a/dwm.c
+++ b/dwm.c
@@ -346,7 +346,7 @@ buttonpress(XEvent *e) {
 			movemouse(c);
 		}
 		else if(ev->button == Button2) {
-			if(ISTILE && !c->isfixed && c->isfloating)
+			if((ISTILE) && !c->isfixed && c->isfloating)
 				togglefloating(NULL);
 			else
 				zoom(NULL);
@@ -1402,7 +1402,7 @@ void
 setmwfact(const char *arg) {
 	double delta;
 
-	if(!ISTILE)
+	if(!(ISTILE))
 		return;
 	/* arg handling, manipulate mwfact */
 	if(arg == NULL)
@@ -1863,7 +1863,7 @@ void
 zoom(const char *arg) {
 	Client *c;
 
-	if(!sel || !ISTILE || sel->isfloating)
+	if(!sel || !(ISTILE) || sel->isfloating)
 		return;
 	if((c = sel) == nexttiled(clients))
 		if(!(c = nexttiled(c->next)))
<ben@gbmor.dev> 2019-06-06 16:07:53 -0400 committer Ben Morrison <ben@gbmor.dev> 2019-06-08 02:29:20 -0400 database refs and static assets concurrency-safe' href='/gbmor/getwtxt/commit/svc/cache.go?h=v0.4.11&id=e9d4a6b0e8624c6425d467f0efe14be1bc683bd9'>e9d4a6b ^
4695425 ^





1a15258 ^
d6d0c18 ^




c896e6b ^

711012e ^

c896e6b ^

1a15258 ^
c896e6b ^

1a15258 ^

b961a70 ^
c896e6b ^

fdbc01d ^
c896e6b ^


c896e6b ^

c6ced3e ^




d6d0c18 ^
c38385c ^
c6ced3e ^
c896e6b ^

b961a70 ^
c896e6b ^
c6ced3e ^
c896e6b ^
d6d0c18 ^
c896e6b ^
8b6ab99 ^
c896e6b ^
55c8ffa ^
c896e6b ^
b961a70 ^
c896e6b ^

8b6ab99 ^
cd635e6 ^


c896e6b ^

2b0d4a5 ^




69217dd ^




2b0d4a5 ^
b961a70 ^
2b0d4a5 ^
25972a6 ^
69217dd ^
25972a6 ^
b961a70 ^
25972a6 ^

e9d4a6b ^
25972a6 ^

e9d4a6b ^
25972a6 ^

f316396 ^

25972a6 ^

2b0d4a5 ^
25972a6 ^



b961a70 ^
25972a6 ^
2b0d4a5 ^
e9d4a6b ^
25972a6 ^

e9d4a6b ^
25972a6 ^
2b0d4a5 ^
2b0d4a5 ^

69217dd ^
2b0d4a5 ^
b961a70 ^
2b0d4a5 ^

e9d4a6b ^
2b0d4a5 ^

e9d4a6b ^
2b0d4a5 ^

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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138