diff --git a/src/bar.cpp b/src/bar.cpp index b6331dc..a48f06e 100644 --- a/src/bar.cpp +++ b/src/bar.cpp @@ -306,7 +306,11 @@ void Bar::renderStatus() cairo_fill(_painter); _x = start; - renderComponent(_statusCmp); + setColorScheme(colorInactive, false); + if (_statusCmp.width() > 0) + { + renderComponent(_statusCmp); + } } void Bar::setTagColorScheme(const Tag& t)