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:
parent
7433a1ff99
commit
6572b98d69
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue