From: Dana Jansens Date: Sun, 3 Jun 2007 19:48:43 +0000 (+0000) Subject: don't use the title separator color for shaded windows X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=8861b44cc8f6a5870ea3a88c25a576729850711a;p=chaz%2Fopenbox don't use the title separator color for shaded windows --- diff --git a/openbox/framerender.c b/openbox/framerender.c index f122eef8..b5cdf174 100644 --- a/openbox/framerender.c +++ b/openbox/framerender.c @@ -95,9 +95,11 @@ void framerender_frame(ObFrame *self) 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);