Restore "Fullscreen at startup" handler

This was mistakenly removed.
This commit is contained in:
Fabrice de Gans 2023-02-05 20:29:14 -08:00
parent f0fd9208b7
commit 216bf4d7e4
1 changed files with 5 additions and 0 deletions

View File

@ -3119,6 +3119,11 @@ EVT_HANDLER(FrameSkipAuto, "Auto Skip frames.")
update_opts();
}
EVT_HANDLER(Fullscreen, "Enter fullscreen mode at startup")
{
GetMenuOptionConfig("Fullscreen", config::OptionID::kGeomFullScreen);
}
EVT_HANDLER(PauseWhenInactive, "Pause game when main window loses focus")
{
GetMenuOptionInt("PauseWhenInactive", &pauseWhenInactive, 1);