From a6fd79f7bf6d351d377cc765d9c297b1e37cfb1a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 2 Jun 2007 15:48:57 +0000 Subject: [PATCH] make inactive window border inherit from active window border which inherits from window.border --- render/theme.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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", -- 2.34.1