dwm-meillo

diff client.c @ 77:38c8f7f7d401

sanitized other stuff
author Anselm R. Garbe <garbeam@wmii.de>
date Sat, 15 Jul 2006 17:19:19 +0200
parents 4bd49f404f10
children aabebd6e61f3
line diff
     1.1 --- a/client.c	Sat Jul 15 17:00:56 2006 +0200
     1.2 +++ b/client.c	Sat Jul 15 17:19:19 2006 +0200
     1.3 @@ -178,7 +178,7 @@
     1.4  	if(!sel)
     1.5  		return;
     1.6  	if(sel->proto & WM_PROTOCOL_DELWIN)
     1.7 -		sendevent(sel->win, wm_atom[WMProtocols], wm_atom[WMDelete]);
     1.8 +		sendevent(sel->win, wmatom[WMProtocols], wmatom[WMDelete]);
     1.9  	else
    1.10  		XKillClient(dpy, sel->win);
    1.11  }
    1.12 @@ -353,7 +353,7 @@
    1.13  
    1.14  	name.nitems = 0;
    1.15  	c->name[0] = 0;
    1.16 -	XGetTextProperty(dpy, c->win, &name, net_atom[NetWMName]);
    1.17 +	XGetTextProperty(dpy, c->win, &name, netatom[NetWMName]);
    1.18  	if(!name.nitems)
    1.19  		XGetWMName(dpy, c->win, &name);
    1.20  	if(!name.nitems)