X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=42a062bef5a85d2e12b7649361c20af921144bd2;hb=a4150ae3d9ed61e5360c221c4be907560ba6531a;hp=b69f2c1e41fac5d08be5544dd9bd4a31140dc0f5;hpb=44be67844a5568e8b1ad87327b0815f8667151c0;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index b69f2c1e..42a062be 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -177,7 +177,7 @@ gint main(gint argc, gchar **argv) ob_rr_inst = RrInstanceNew(ob_display, ob_screen); if (ob_rr_inst == NULL) - ob_exit_with_error(_("Failed to initialize the render library.")); + ob_exit_with_error(_("Failed to initialize the obrender library.")); XSynchronize(ob_display, xsync); @@ -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); }