diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-05-10 13:49:17 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-10 13:49:17 +0200 |
commit | c67dbb28e47b03eca0c7faddcf7c9862c41694b7 (patch) | |
tree | 258282155f3a13e7a1a2c8433f08f6ebb3da8152 /client.c | |
parent | b8bccb4ac5222a01ecd6a5f82997ea2ee3b84b8b (diff) | |
download | dwm-c67dbb28e47b03eca0c7faddcf7c9862c41694b7.tar.gz dwm-c67dbb28e47b03eca0c7faddcf7c9862c41694b7.tar.bz2 dwm-c67dbb28e47b03eca0c7faddcf7c9862c41694b7.zip |
small fix of fix
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |