dwm-meillo
changeset 157:93012e947eae
renamed WM_PROTOCOL_DELWIN into PROTODELWIN
author | arg@10ksloc.org |
---|---|
date | Tue, 01 Aug 2006 16:44:23 +0200 |
parents | 9bd8a1a50464 |
children | 4e42dfc0f61f |
files | client.c dwm.h main.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/client.c Tue Aug 01 16:39:20 2006 +0200 1.2 +++ b/client.c Tue Aug 01 16:44:23 2006 +0200 1.3 @@ -191,7 +191,7 @@ 1.4 { 1.5 if(!sel) 1.6 return; 1.7 - if(sel->proto & WM_PROTOCOL_DELWIN) 1.8 + if(sel->proto & PROTODELWIN) 1.9 sendevent(sel->win, wmatom[WMProtocols], wmatom[WMDelete]); 1.10 else 1.11 XKillClient(dpy, sel->win);
2.1 --- a/dwm.h Tue Aug 01 16:39:20 2006 +0200 2.2 +++ b/dwm.h Tue Aug 01 16:44:23 2006 +0200 2.3 @@ -9,7 +9,7 @@ 2.4 /* mask shorthands, used in event.c and client.c */ 2.5 #define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) 2.6 #define MOUSEMASK (BUTTONMASK | PointerMotionMask) 2.7 -#define WM_PROTOCOL_DELWIN 1 2.8 +#define PROTODELWIN 1 2.9 2.10 typedef union Arg Arg; 2.11 typedef struct Client Client;
3.1 --- a/main.c Tue Aug 01 16:39:20 2006 +0200 3.2 +++ b/main.c Tue Aug 01 16:44:23 2006 +0200 3.3 @@ -111,7 +111,7 @@ 3.4 } 3.5 for(i = 0; i < res; i++) { 3.6 if(protocols[i] == wmatom[WMDelete]) 3.7 - protos |= WM_PROTOCOL_DELWIN; 3.8 + protos |= PROTODELWIN; 3.9 } 3.10 free((char *) protocols); 3.11 return protos;