tsmall fix of fix - dwm - [fork] customized build of dwm, the dynamic window ma… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c67dbb28e47b03eca0c7faddcf7c9862c41694b7 | |
parent b8bccb4ac5222a01ecd6a5f82997ea2ee3b84b8b | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Thu, 10 May 2007 13:49:17 +0200 | |
small fix of fix | |
Diffstat: | |
M client.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/client.c b/client.c | |
t@@ -365,9 +365,8 @@ updatetitle(Client *c) { | |
XGetWMName(dpy, c->win, &name); | |
if(!name.nitems) | |
return; | |
- if(name.encoding == XA_STRING) { | |
+ if(name.encoding == XA_STRING) | |
strncpy(c->name, (char *)name.value, sizeof c->name - 1); | |
- } | |
else { | |
if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success | |
&& n > 0 && *list) |