sanitized other stuff

This commit is contained in:
Anselm R. Garbe
2006-07-15 17:19:19 +02:00
parent adaa28a6e6
commit c09bf8da07
5 changed files with 137 additions and 143 deletions

View File

@ -178,7 +178,7 @@ killclient(Arg *arg)
if(!sel)
return;
if(sel->proto & WM_PROTOCOL_DELWIN)
sendevent(sel->win, wm_atom[WMProtocols], wm_atom[WMDelete]);
sendevent(sel->win, wmatom[WMProtocols], wmatom[WMDelete]);
else
XKillClient(dpy, sel->win);
}
@ -353,7 +353,7 @@ settitle(Client *c)
name.nitems = 0;
c->name[0] = 0;
XGetTextProperty(dpy, c->win, &name, net_atom[NetWMName]);
XGetTextProperty(dpy, c->win, &name, netatom[NetWMName]);
if(!name.nitems)
XGetWMName(dpy, c->win, &name);
if(!name.nitems)