don't use the title separator color for shaded windows
This commit is contained in:
parent
3853b19f0e
commit
8861b44cc8
1 changed files with 5 additions and 3 deletions
|
@ -95,9 +95,11 @@ void framerender_frame(ObFrame *self)
|
||||||
XSetWindowBackground(ob_display, self->rgripbottom, px);
|
XSetWindowBackground(ob_display, self->rgripbottom, px);
|
||||||
XClearWindow(ob_display, self->rgripbottom);
|
XClearWindow(ob_display, self->rgripbottom);
|
||||||
|
|
||||||
px = (self->focused ?
|
/* don't use the separator color for shaded windows */
|
||||||
RrColorPixel(ob_rr_theme->title_separator_focused_color) :
|
if (!self->client->shaded)
|
||||||
RrColorPixel(ob_rr_theme->title_separator_unfocused_color));
|
px = (self->focused ?
|
||||||
|
RrColorPixel(ob_rr_theme->title_separator_focused_color) :
|
||||||
|
RrColorPixel(ob_rr_theme->title_separator_unfocused_color));
|
||||||
|
|
||||||
XSetWindowBackground(ob_display, self->titlebottom, px);
|
XSetWindowBackground(ob_display, self->titlebottom, px);
|
||||||
XClearWindow(ob_display, self->titlebottom);
|
XClearWindow(ob_display, self->titlebottom);
|
||||||
|
|
Loading…
Reference in a new issue