--- a/client.c Tue Aug 01 16:39:20 2006 +0200
+++ b/client.c Tue Aug 01 16:44:23 2006 +0200
@@ -191,7 +191,7 @@
{
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);
--- a/dwm.h Tue Aug 01 16:39:20 2006 +0200
+++ b/dwm.h Tue Aug 01 16:44:23 2006 +0200
@@ -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;
--- a/main.c Tue Aug 01 16:39:20 2006 +0200
+++ b/main.c Tue Aug 01 16:44:23 2006 +0200
@@ -111,7 +111,7 @@
}
for(i = 0; i < res; i++) {
if(protocols[i] == wmatom[WMDelete])
- protos |= WM_PROTOCOL_DELWIN;
+ protos |= PROTODELWIN;
}
free((char *) protocols);
return protos;