From: Michael Stapelberg Date: Sun, 11 Jul 2010 20:23:05 +0000 (+0200) Subject: Bugfix: Render decoration of single window in tabbed/stacked container (Thanks Fernando) X-Git-Tag: 3.e-bf2~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=935f950ce28c82d6eb47979cf285f11fb0cf49d9;p=i3%2Fi3 Bugfix: Render decoration of single window in tabbed/stacked container (Thanks Fernando) --- diff --git a/src/layout.c b/src/layout.c index b1338040..76343aa0 100644 --- a/src/layout.c +++ b/src/layout.c @@ -536,10 +536,11 @@ void render_container(xcb_connection_t *conn, Container *container) { } offset_x = current_client++ * size_each; } - if (stack_win->pixmap.id == XCB_NONE) - continue; - decorate_window(conn, client, stack_win->pixmap.id, - stack_win->pixmap.gc, offset_x, offset_y); + if (stack_win->pixmap.id != XCB_NONE) + decorate_window(conn, client, stack_win->pixmap.id, + stack_win->pixmap.gc, offset_x, offset_y); + else + decorate_window(conn, client, client->frame, client->titlegc, 0, 0); } /* Check if we need to fill one column because of an uneven