From fb04388289c4c1848cc06c0ea81d8e585b86e179 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 15 Nov 2009 17:35:15 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20hide=20window=20titles?= =?utf8?q?=20in=20tabbing=20mode=20(Thanks=20badboy)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/layout.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/layout.c b/src/layout.c index 4e06c44b..37efdd04 100644 --- a/src/layout.c +++ b/src/layout.c @@ -199,7 +199,10 @@ void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t draw } /* If the client has a title, we draw it */ - if (client->name != NULL && client->titlebar_position != TITLEBAR_OFF) { + if (client->name != NULL && + ((client->container != NULL && + client->container->mode != MODE_DEFAULT) || + client->titlebar_position != TITLEBAR_OFF)) { /* Draw the font */ uint32_t mask = XCB_GC_FOREGROUND | XCB_GC_BACKGROUND | XCB_GC_FONT; uint32_t values[] = { color->text, color->background, font->id }; -- 2.39.5