From 216bf4d7e4869a6a5f495851184b08aeccb37d66 Mon Sep 17 00:00:00 2001 From: Fabrice de Gans Date: Sun, 5 Feb 2023 20:29:14 -0800 Subject: [PATCH] Restore "Fullscreen at startup" handler This was mistakenly removed. --- src/wx/cmdevents.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wx/cmdevents.cpp b/src/wx/cmdevents.cpp index 720c0927..c8a9dcae 100644 --- a/src/wx/cmdevents.cpp +++ b/src/wx/cmdevents.cpp @@ -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);