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 Mahesh Asolkar
parent 7e91b3a514
commit 98ad3780b8

View File

@ -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)