From: Dana Jansens Date: Tue, 5 Feb 2008 05:07:26 +0000 (-0500) Subject: the title_focused_shadow_color is being set twice, and being overridden by the osd... X-Git-Tag: release-3.4.6.1~1^2~1 X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=87fd759ba98dfec47b4c6a5cb291339617d40af3 the title_focused_shadow_color is being set twice, and being overridden by the osd color (though not in the texture) --- diff --git a/render/theme.c b/render/theme.c index a57269d..9fc1f1d 100644 --- a/render/theme.c +++ b/render/theme.c @@ -897,13 +897,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name, j = (i > 0 ? 0 : 255); i = ABS(i*255/100); - theme->title_focused_shadow_color = RrColorNew(inst, j, j, j); - theme->title_focused_shadow_alpha = i; theme->osd_shadow_color = RrColorNew(inst, j, j, j); theme->osd_shadow_alpha = i; } else { - theme->title_focused_shadow_color = RrColorNew(inst, 0, 0, 0); - theme->title_focused_shadow_alpha = 50; theme->osd_shadow_color = RrColorNew(inst, 0, 0, 0); theme->osd_shadow_alpha = 50; }