From: Michael Stapelberg Date: Wed, 2 Sep 2009 19:59:31 +0000 (+0200) Subject: Bugfix: In stacked/tabbed mode we need the regular border color (Thanks badboy) X-Git-Tag: 3.d~111 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=67dcd9df28781cae878ca722c85d0b0bc324f72c;p=i3%2Fi3 Bugfix: In stacked/tabbed mode we need the regular border color (Thanks badboy) --- diff --git a/src/layout.c b/src/layout.c index 9060de4d..7d5ec868 100644 --- a/src/layout.c +++ b/src/layout.c @@ -135,7 +135,9 @@ void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t draw */ /* Draw a rectangle in background color around the window */ - if (client->borderless) + if (client->borderless && (client->container == NULL || + (client->container->mode != MODE_STACK && + client->container->mode != MODE_TABBED))) xcb_change_gc_single(conn, gc, XCB_GC_FOREGROUND, get_colorpixel(conn, "#000000")); else xcb_change_gc_single(conn, gc, XCB_GC_FOREGROUND, color->background);