make inactive window border inherit from active window border which inherits from...
authorDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 15:48:57 +0000 (15:48 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 15:48:57 +0000 (15:48 +0000)
render/theme.c

index d28b79fd5166c97a3bd9f909d4a11bec1132d36c..9c1db343b4f87c42a148a0402d2940b5e2f70c51 100644 (file)
@@ -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",