From: Dana Jansens Date: Mon, 8 Aug 2011 19:42:48 +0000 (-0400) Subject: Make the inactive osd text color fall back to the old osd property, and lastly inheri... X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=ad12b19dd607634a427e36a7c7252a58e9b43b22;p=dana%2Fopenbox.git Make the inactive osd text color fall back to the old osd property, and lastly inherit from the unfocused window color. --- diff --git a/obrender/theme.c b/obrender/theme.c index b20182ad..634fc510 100644 --- a/obrender/theme.c +++ b/obrender/theme.c @@ -324,8 +324,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name, "osd.label.text.color", theme->osd_text_active_color, RrColorCopy(theme->title_focused_color)); - READ_COLOR("osd.inactive.label.text.color", theme->osd_text_inactive_color, - RrColorNew(inst, 0xff, 0xff, 0xff)); + READ_COLOR_("osd.inactive.label.text.color", + "osd.label.text.color", + theme->osd_text_inactive_color, RrColorCopy(theme->title_unfocused_color)); READ_COLOR("window.active.button.unpressed.image.color", theme->titlebut_focused_unpressed_color,