Fix status bar background color

I don't know if this is the best way to do it but this one-liner
makes it look exactly like dwm's.

Co-authored-by: Raphael Robatsch <raphael-git@tapesoftware.net>
This commit is contained in:
jeron 2023-12-26 20:22:13 -03:00 committed by Raphael Robatsch
parent 7433a1ff99
commit 6572b98d69

View File

@ -266,7 +266,11 @@ void Bar::renderStatus()
cairo_fill(_painter); cairo_fill(_painter);
_x = start; _x = start;
renderComponent(_statusCmp); setColorScheme(colorInactive, false);
if (_statusCmp.width() > 0)
{
renderComponent(_statusCmp);
}
} }
void Bar::setColorScheme(const ColorScheme& scheme, bool invert) void Bar::setColorScheme(const ColorScheme& scheme, bool invert)