]> git.sur5r.net Git - i3/i3/commitdiff
Merge pull request #2150 from Airblader/bug-2149
authorMichael Stapelberg <stapelberg@users.noreply.github.com>
Wed, 6 Jan 2016 20:15:18 +0000 (21:15 +0100)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Wed, 6 Jan 2016 20:15:18 +0000 (21:15 +0100)
Use correct fallback color for decoration_border.

src/config_directives.c

index fcc480945efc33cf2ade27dab37007bfbd548b14..85cea4cfb04c5aa058ccb768b96433638910f4f9 100644 (file)
@@ -347,6 +347,8 @@ CFGFUN(color, const char *colorclass, const char *border, const char *background
             }                                                                                          \
             if (decoration_border != NULL) {                                                           \
                 config.client.classname.decoration_border = draw_util_hex_to_color(decoration_border); \
+            } else {                                                                                   \
+                config.client.classname.decoration_border = config.client.classname.background;        \
             }                                                                                          \
         }                                                                                              \
     } while (0)