config: add 'startup-mode' option

This option controls the initial window mode: windowed, maximized or
fullscreen. The default is windowed.
This commit is contained in:
Daniel Eklöf 2020-03-26 19:39:12 +01:00
parent be8b6e8c75
commit e197368c0f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 39 additions and 1 deletions

View file

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