[client] Pass signed to xutil_gettextprop()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
da9d970e13
commit
09e166ca1e
4
client.c
4
client.c
|
@ -193,10 +193,10 @@ client_updatetitle(client_t *c)
|
|||
|
||||
if(!xutil_gettextprop(globalconf.connection, c->win,
|
||||
xutil_intern_atom(globalconf.connection, "_NET_WM_NAME"),
|
||||
buf, sizeof(buf)))
|
||||
buf, ssizeof(buf)))
|
||||
xutil_gettextprop(globalconf.connection, c->win,
|
||||
xutil_intern_atom(globalconf.connection, "WM_NAME"),
|
||||
buf, sizeof(buf));
|
||||
buf, ssizeof(buf));
|
||||
if(c->name)
|
||||
p_delete(&c->name);
|
||||
c->name = g_markup_escape_text(buf, -1);
|
||||
|
|
Loading…
Reference in New Issue