Parcourir la source

Choose client theme as default theme in rules

Martin Duquesnoy il y a 12 ans
Parent
commit
70eeae3135
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/config.c

+ 1 - 1
src/config.c

@@ -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);
      }