Config: Don't save --fullscreen unless changed.

This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
This commit is contained in:
Unknown W. Brackets committed 2022-05-28 15:47:12 -07:00
1 parent 4c6f6b63dd
commit 3edf6ab0fa
12 files changed
+59 -31

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ void ChatMenu::Update() {
#if defined(USING_WIN_UI)
// Could remove the fullscreen check here, it works now.
if (promptInput_ && g_Config.bBypassOSKWithKeyboard && !g_Config.bFullScreen) {
if (promptInput_ && g_Config.bBypassOSKWithKeyboard && !g_Config.UseFullScreen()) {
System_InputBoxGetString(n->T("Chat"), n->T("Chat Here"), [](bool result, const std::string &value) {
if (result) {
sendChat(value);