Mercurial > aewl
comparison client.c @ 7:49e2fc9fb94f
new stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 11:27:56 +0200 |
parents | e5018cae273f |
children | d567f430a81d |
comparison
equal
deleted
inserted
replaced
6:e0cefb3981c8 | 7:49e2fc9fb94f |
---|---|
12 static void | 12 static void |
13 update_client_name(Client *c) | 13 update_client_name(Client *c) |
14 { | 14 { |
15 XTextProperty name; | 15 XTextProperty name; |
16 int n; | 16 int n; |
17 char **list = 0; | 17 char **list = NULL; |
18 | 18 |
19 name.nitems = 0; | 19 name.nitems = 0; |
20 c->name[0] = 0; | 20 c->name[0] = 0; |
21 XGetTextProperty(dpy, c->win, &name, net_atom[NetWMName]); | 21 XGetTextProperty(dpy, c->win, &name, net_atom[NetWMName]); |
22 if(!name.nitems) | 22 if(!name.nitems) |