[client] Pass signed to xutil_gettextprop()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-28 13:02:26 +02:00
parent da9d970e13
commit 09e166ca1e
1 changed files with 2 additions and 2 deletions

View File

@ -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);