aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-26 18:39:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-26 18:39:12 +0000
commite197368c0ffc2235da9b6b41a0d16cdb5b0b61bb (patch)
treeba893901ce1a3ae48292504e7139d85fffdb17ce /config.h
parentrender: fdm refresh handler: don't clear pending flags (diff)
config: add 'startup-mode' option
This option controls the initial window mode: windowed, maximized or fullscreen. The default is windowed.
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index 596aa368..635abb20 100644
--- a/config.h
+++ b/config.h
@@ -15,6 +15,7 @@ struct config {
unsigned height;
unsigned pad_x;
unsigned pad_y;
+ enum { STARTUP_WINDOWED, STARTUP_MAXIMIZED, STARTUP_FULLSCREEN } startup_mode;
tll(char *) fonts;