put the hostname in icon titles too
This commit is contained in:
parent
38d1f2cba6
commit
d1570968cf
1 changed files with 8 additions and 2 deletions
|
@ -1985,8 +1985,14 @@ void client_update_title(ObClient *self)
|
||||||
PROP_GETS(self->window, wm_icon_name, utf8, &data)))
|
PROP_GETS(self->window, wm_icon_name, utf8, &data)))
|
||||||
data = g_strdup(self->title);
|
data = g_strdup(self->title);
|
||||||
|
|
||||||
PROP_SETS(self->window, net_wm_visible_icon_name, data);
|
if (self->client_machine) {
|
||||||
self->icon_title = data;
|
visible = g_strdup_printf("%s (%s)", data, self->client_machine);
|
||||||
|
g_free(data);
|
||||||
|
} else
|
||||||
|
visible = data;
|
||||||
|
|
||||||
|
PROP_SETS(self->window, net_wm_visible_icon_name, visible);
|
||||||
|
self->icon_title = visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
void client_update_strut(ObClient *self)
|
void client_update_strut(ObClient *self)
|
||||||
|
|
Loading…
Reference in a new issue