Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed viewall(), replaced with view(-1); added tag(-1) to tag a client with all...
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
220d2a0
..
74cadb5
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-361,12
+361,12
@@
updatetitle(Client *c) {
if(!name.nitems)
return;
if(name.encoding == XA_STRING)
if(!name.nitems)
return;
if(name.encoding == XA_STRING)
- strncpy(c->name, (char *)name.value, sizeof(c->name));
+ strncpy(c->name, (char *)name.value, sizeof c->name);
else {
if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success
&& n > 0 && *list)
{
else {
if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success
&& n > 0 && *list)
{
- strncpy(c->name, *list, sizeof(c->name));
+ strncpy(c->name, *list, sizeof c->name);
XFreeStringList(list);
}
}
XFreeStringList(list);
}
}