X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fopenbox.c;h=42a062bef5a85d2e12b7649361c20af921144bd2;hb=78ff91ae6c225cf80b77d1e3e57370c01a693ff0;hp=76b3b53f4cd8a3f984e19a60678a478aace3c7e7;hpb=6af116c87273451dd5b0017642c600861234671e;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index 76b3b53f..42a062be 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -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, theme->name); } if (reconfigure) { @@ -328,7 +331,7 @@ gint main(gint argc, gchar **argv) for (it = client_list; it; it = g_list_next(it)) { ObClient *c = it->data; /* the new config can change the window's decorations */ - client_setup_decor_and_functions(c); + client_setup_decor_and_functions(c, TRUE); /* redraw the frames */ frame_adjust_area(c->frame, TRUE, TRUE, FALSE); }