Choose client theme as default theme in rules

This commit is contained in:
Martin Duquesnoy 2012-02-13 13:00:32 +01:00
parent 7c31faa096
commit 70eeae3135

View File

@ -278,7 +278,7 @@ config_rule(void)
if((tn = fetch_opt_first(ks[i], "", "theme").str))
r->theme = name_to_theme(tn);
else
r->theme = SLIST_FIRST(&W->h.theme);
r->theme = W->ctheme;
SLIST_INSERT_HEAD(&W->h.rule, r, next);
}