about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;
' href='#n172'>172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218