Bugfix: Correctly update window titles when in stacking
This commit is contained in:
parent
4fb4c579f8
commit
30d386138b
|
@ -385,7 +385,9 @@ int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
|
||||||
strncpy(client->name, xcb_get_property_value(prop), client->name_len);
|
strncpy(client->name, xcb_get_property_value(prop), client->name_len);
|
||||||
printf("rename to \"%.*s\".\n", client->name_len, client->name);
|
printf("rename to \"%.*s\".\n", client->name_len, client->name);
|
||||||
|
|
||||||
decorate_window(conn, client, client->frame, client->titlegc, 0);
|
if (client->container->mode == MODE_STACK)
|
||||||
|
render_container(conn, client->container);
|
||||||
|
else decorate_window(conn, client, client->frame, client->titlegc, 0);
|
||||||
xcb_flush(conn);
|
xcb_flush(conn);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue