all repos — openbox @ 8861b44cc8f6a5870ea3a88c25a576729850711a

openbox fork - make it a bit more like ryudo

don't use the title separator color for shaded windows
Dana Jansens danakj@orodu.net
commit

8861b44cc8f6a5870ea3a88c25a576729850711a

parent

3853b19f0e43399aa0e378a242211cfa27f7c435

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M openbox/framerender.copenbox/framerender.c

@@ -95,9 +95,11 @@ XClearWindow(ob_display, self->rgriptop);

XSetWindowBackground(ob_display, self->rgripbottom, px); XClearWindow(ob_display, self->rgripbottom); - px = (self->focused ? - RrColorPixel(ob_rr_theme->title_separator_focused_color) : - RrColorPixel(ob_rr_theme->title_separator_unfocused_color)); + /* don't use the separator color for shaded windows */ + if (!self->client->shaded) + 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); XClearWindow(ob_display, self->titlebottom);