]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
only show falling back msg when its true
[chaz/openbox] / openbox / openbox.c
index ce92d5228ae196d99d914d6dacbb9f33877e5c9d..cfc6f036910eae5731f401b1f8f961e28a909054 100644 (file)
@@ -261,7 +261,7 @@ gint main(gint argc, gchar **argv)
             /* load the theme specified in the rc file */
             {
                 RrTheme *theme;
-                if ((theme = RrThemeNew(ob_rr_inst, config_theme,
+                if ((theme = RrThemeNew(ob_rr_inst, config_theme, TRUE,
                                         config_font_activewindow,
                                         config_font_inactivewindow,
                                         config_font_menutitle,
@@ -273,6 +273,9 @@ gint main(gint argc, gchar **argv)
                 }
                 if (ob_rr_theme == NULL)
                     ob_exit_with_error(_("Unable to load a theme."));
+
+                PROP_SETS(RootWindow(ob_display, ob_screen),
+                          ob_theme, ob_rr_theme->name);
             }
 
             if (reconfigure) {
This page took 0.02615 seconds and 4 git commands to generate.