From e197368c0ffc2235da9b6b41a0d16cdb5b0b61bb Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 26 Mar 2020 19:39:12 +0100 Subject: config: add 'startup-mode' option This option controls the initial window mode: windowed, maximized or fullscreen. The default is windowed. --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') 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; -- cgit v1.3