From: Dana Jansens Date: Sat, 2 Jun 2007 15:48:57 +0000 (+0000) Subject: make inactive window border inherit from active window border which inherits from... X-Git-Tag: openbox-3_3_995-RELEASE~13 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=a6fd79f7bf6d351d377cc765d9c297b1e37cfb1a;p=dana%2Fopenbox.git make inactive window border inherit from active window border which inherits from window.border --- diff --git a/render/theme.c b/render/theme.c index d28b79fd..9c1db343 100644 --- a/render/theme.c +++ b/render/theme.c @@ -204,7 +204,10 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, if (!read_color(db, inst, "window.inactive.border.color", &theme->frame_unfocused_border_color)) - theme->frame_unfocused_border_color = RrColorNew(inst, 0, 0, 0); + theme->frame_unfocused_border_color = + RrColorNew(inst, theme->frame_focused_border_color->r, + theme->frame_focused_border_color->g, + theme->frame_focused_border_color->b); /* menu border color inherits from frame focused border color */ if (!read_color(db, inst, "menu.border.color",