all repos — dwm @ 080a38d62d18be2ab98f66ed190d3d9e3463fec9

my dwm build

renamed WM_PROTOCOL_DELWIN into PROTODELWIN
arg@10ksloc.org unknown
Tue, 01 Aug 2006 16:44:23 +0200
commit

080a38d62d18be2ab98f66ed190d3d9e3463fec9

parent

ab7a11c0c73fa101c8e0234f8214284888fb8156

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M client.cclient.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);
M dwm.hdwm.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;
M main.cmain.c

@@ -111,7 +111,7 @@ return protos;

} for(i = 0; i < res; i++) { if(protocols[i] == wmatom[WMDelete]) - protos |= WM_PROTOCOL_DELWIN; + protos |= PROTODELWIN; } free((char *) protocols); return protos;