+ "window.active.border.color",
+ &theme->frame_focused_border_color) &&
+ !read_color(db, inst,
+ "border.color",
+ &theme->frame_focused_border_color))
+ theme->frame_focused_border_color = RrColorNew(inst, 0, 0, 0);
+ /* title separator focused color inherits from focused boder color */
+ if (!read_color(db, inst,
+ "window.active.title.separator.color",
+ &theme->title_separator_focused_color))
+ theme->title_separator_focused_color =
+ RrColorNew(inst,
+ theme->frame_focused_border_color->r,
+ theme->frame_focused_border_color->g,
+ theme->frame_focused_border_color->b);
+ /* unfocused border color inherits from frame focused border color */
+ if (!read_color(db, inst,
+ "window.inactive.border.color",
+ &theme->frame_unfocused_border_color))
+ 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);
+ /* title separator unfocused color inherits from unfocused boder color */
+ if (!read_color(db, inst,
+ "window.inactive.title.separator.color",
+ &theme->title_separator_unfocused_color))
+ theme->title_separator_unfocused_color =
+ RrColorNew(inst,
+ theme->frame_unfocused_border_color->r,
+ theme->frame_unfocused_border_color->g,
+ theme->frame_unfocused_border_color->b);
+
+ /* menu border color inherits from frame focused border color */
+ if (!read_color(db, inst, "menu.border.color", &theme->menu_border_color))
+ theme->menu_border_color =
+ RrColorNew(inst,
+ theme->frame_focused_border_color->r,
+ theme->frame_focused_border_color->g,
+ theme->frame_focused_border_color->b);
+ /* osd border color inherits from frame focused border color */
+ if (!read_color(db, inst, "osd.border.color", &theme->osd_border_color))
+ theme->osd_border_color =
+ RrColorNew(inst,
+ theme->frame_focused_border_color->r,
+ theme->frame_focused_border_color->g,
+ theme->frame_focused_border_color->b);