aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-21 14:33:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-21 14:33:45 +0000
commit353e51b0a15cc9113ef868d557e9344744943ae6 (patch)
tree2eba0cc92115fd9e593a1e2ad9784b2110d7771c /config.h
parentchangelog: restored -> restore (diff)
parentdoc: foot.ini.5: mention how one can disable bold/italic fonts completely (diff)
Merge branch 'custom-bold-italic-fonts'
Closes #169
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index d9a6f901..7313f42f 100644
--- a/config.h
+++ b/config.h
@@ -16,6 +16,7 @@ struct config_font {
double pt_size;
int px_size;
};
+typedef tll(struct config_font) config_font_list_t;
struct config_key_modifiers {
bool shift;
@@ -77,7 +78,7 @@ struct config {
enum { STARTUP_WINDOWED, STARTUP_MAXIMIZED, STARTUP_FULLSCREEN } startup_mode;
- tll(struct config_font) fonts;
+ config_font_list_t fonts[4];
struct {
int lines;