From 30d386138ba958abd0275fbfae7b49e59ca7a0cb Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 28 Feb 2009 01:23:09 +0100 Subject: [PATCH] Bugfix: Correctly update window titles when in stacking --- src/handlers.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/handlers.c b/src/handlers.c index 4ee50626..580ba1f9 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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); 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); return 1; -- 2.39.5