]> git.lizzy.rs Git - bspwm.git/commitdiff
Always apply the window border color
authorBastien Dejean <nihilhill@gmail.com>
Thu, 6 Dec 2018 16:41:41 +0000 (17:41 +0100)
committerBastien Dejean <nihilhill@gmail.com>
Thu, 6 Dec 2018 16:41:41 +0000 (17:41 +0100)
Fixes #887.

src/window.c

index 982c0281b04d984987aeed6ebd1eed56530e45b5..c867ee581ffe464cf14c3db35ab898e055e8a614 100644 (file)
@@ -410,7 +410,7 @@ void draw_border(node_t *n, bool focused_node, bool focused_monitor)
 
        uint32_t border_color_pxl = get_border_color(focused_node, focused_monitor);
        for (node_t *f = first_extrema(n); f != NULL; f = next_leaf(f, n)) {
-               if (f->client != NULL && f->client->border_width > 0) {
+               if (f->client != NULL) {
                        window_draw_border(f->id, border_color_pxl);
                }
        }