Choose client theme as default theme in rules
This commit is contained in:
parent
7c31faa096
commit
70eeae3135
@ -278,7 +278,7 @@ config_rule(void)
|
|||||||
if((tn = fetch_opt_first(ks[i], "", "theme").str))
|
if((tn = fetch_opt_first(ks[i], "", "theme").str))
|
||||||
r->theme = name_to_theme(tn);
|
r->theme = name_to_theme(tn);
|
||||||
else
|
else
|
||||||
r->theme = SLIST_FIRST(&W->h.theme);
|
r->theme = W->ctheme;
|
||||||
|
|
||||||
SLIST_INSERT_HEAD(&W->h.rule, r, next);
|
SLIST_INSERT_HEAD(&W->h.rule, r, next);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user