about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-01 16:44:23 +0200
committerarg@10ksloc.org <unknown>2006-08-01 16:44:23 +0200
commit080a38d62d18be2ab98f66ed190d3d9e3463fec9 (patch)
tree1d0574e3a5cdf6fecc145dc65db5061e7c19b7d3
parentab7a11c0c73fa101c8e0234f8214284888fb8156 (diff)
downloaddwm-080a38d62d18be2ab98f66ed190d3d9e3463fec9.tar.gz
renamed WM_PROTOCOL_DELWIN into PROTODELWIN
-rw-r--r--client.c2
-rw-r--r--dwm.h2
-rw-r--r--main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index fd91af5..434a93b 100644
--- a/client.c
+++ b/client.c
@@ -191,7 +191,7 @@ killclient(Arg *arg)
 {
 	if(!sel)
 		return;
-	if(sel->proto & WM_PROTOCOL_DELWIN)
+	if(sel->proto & PROTODELWIN)
 		sendevent(sel->win, wmatom[WMProtocols], wmatom[WMDelete]);
 	else
 		XKillClient(dpy, sel->win);
diff --git a/dwm.h b/dwm.h
index 9b34210..0ed778c 100644
--- a/dwm.h
+++ b/dwm.h
@@ -9,7 +9,7 @@
 /* mask shorthands, used in event.c and client.c */
 #define BUTTONMASK		(ButtonPressMask | ButtonReleaseMask)
 #define MOUSEMASK		(BUTTONMASK | PointerMotionMask)
-#define WM_PROTOCOL_DELWIN	1
+#define PROTODELWIN		1
 
 typedef union Arg Arg;
 typedef struct Client Client;
diff --git a/main.c b/main.c
index 0e94e2c..f09307b 100644
--- a/main.c
+++ b/main.c
@@ -111,7 +111,7 @@ getproto(Window w)
 	}
 	for(i = 0; i < res; i++) {
 		if(protocols[i] == wmatom[WMDelete])
-			protos |= WM_PROTOCOL_DELWIN;
+			protos |= PROTODELWIN;
 	}
 	free((char *) protocols);
 	return protos;
nti/profani-tty/commit/src/ui/occupantswin.c?id=0c248a0b16e9c159b274667c7149f50299328804'>0c248a0b ^
125ca2f0 ^
0c248a0b ^
125ca2f0 ^
0c248a0b ^
d5206679 ^
0c248a0b ^



d5206679 ^


125ca2f0 ^

76c665e9 ^
125ca2f0 ^
76c665e9 ^

57dc5f14 ^
d5206679 ^



57dc5f14 ^
125ca2f0 ^
57dc5f14 ^


d5206679 ^

76c665e9 ^


9d94ac5c ^
2ce43b63 ^
4dc48b4b ^
ea267e20 ^
4dc48b4b ^


9a322a02 ^
4dc48b4b ^



56602278 ^






4dc48b4b ^
56602278 ^



4dc48b4b ^
56602278 ^
4dc48b4b ^
56602278 ^
4dc48b4b ^



57dc5f14 ^
4dc48b4b ^



56602278 ^


4dc48b4b ^
56602278 ^
4dc48b4b ^
56602278 ^
4dc48b4b ^



57dc5f14 ^
4dc48b4b ^



56602278 ^


4dc48b4b ^
56602278 ^
4dc48b4b ^
56602278 ^
4dc48b4b ^



57dc5f14 ^
4dc48b4b ^



56602278 ^


4dc48b4b ^
56602278 ^
4dc48b4b ^
56602278 ^

4dc48b4b ^


57dc5f14 ^
4dc48b4b ^


56602278 ^

4dc48b4b ^



38ed9188 ^
028839e3 ^
















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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192