Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
sanitized other stuff
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
1e3216e
..
92b26a2
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-178,7
+178,7
@@
killclient(Arg *arg)
if(!sel)
return;
if(sel->proto & WM_PROTOCOL_DELWIN)
if(!sel)
return;
if(sel->proto & WM_PROTOCOL_DELWIN)
- sendevent(sel->win, wm
_atom[WMProtocols], wm_
atom[WMDelete]);
+ sendevent(sel->win, wm
atom[WMProtocols], wm
atom[WMDelete]);
else
XKillClient(dpy, sel->win);
}
else
XKillClient(dpy, sel->win);
}
@@
-353,7
+353,7
@@
settitle(Client *c)
name.nitems = 0;
c->name[0] = 0;
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)
if(!name.nitems)
XGetWMName(dpy, c->win, &name);
if(!name.nitems)