all repos — openbox @ ed1dcb6b48012ca5c4a1358915e309ec05f9afe3

openbox fork - make it a bit more like ryudo

no const weirdness
Dana Jansens danakj@orodu.net
commit

ed1dcb6b48012ca5c4a1358915e309ec05f9afe3

parent

999cf25006b063048bff905924bb31eb7c4f9119

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M render/theme.crender/theme.c

@@ -90,13 +90,12 @@ if (!parse_load_theme(DEFAULT_THEME, &ps.doc, &root, &ps.path)) {

g_message("Unable to load the theme '%s'", DEFAULT_THEME); return NULL; } - name = DEFAULT_THEME; } ps.inst = inst; theme = g_new0(RrTheme, 1); theme->inst = inst; - theme->name = g_strdup(name); + theme->name = g_strdup(name ? name : DEFAULT_THEME); theme->a_disabled_focused_max = RrAppearanceNew(inst, 1); theme->a_disabled_unfocused_max = RrAppearanceNew(inst, 1);