all repos — openbox @ 39b2f712aab0309e0aec58468251f1dd103c10de

openbox fork - make it a bit more like ryudo

dont exit when a theme can't be loaded during reconfigure
Dana Jansens danakj@orodu.net
commit

39b2f712aab0309e0aec58468251f1dd103c10de

parent

c20a8d986a3a87dd345bede8e3b6c08e39a89485

1 files changed, 7 insertions(+), 3 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -244,9 +244,13 @@ parse_shutdown(i);

} /* load the theme specified in the rc file */ - ob_rr_theme = RrThemeNew(ob_rr_inst, config_theme); - if (ob_rr_theme == NULL) - ob_exit_with_error("Unable to load a theme."); + { + RrTheme *theme; + if ((theme = RrThemeNew(ob_rr_inst, config_theme))) + ob_rr_theme = theme; + if (ob_rr_theme == NULL) + ob_exit_with_error("Unable to load a theme."); + } moveresize_startup(reconfigure); screen_startup(reconfigure);