[client] config: add option to disable auto client resolution switching

This commit is contained in:
Geoffrey McRae
2025-04-04 10:13:19 +11:00
parent c2a19f5e76
commit 9593301511
3 changed files with 11 additions and 1 deletions

View File

@@ -220,6 +220,14 @@ static struct Option options[] =
.type = OPTION_TYPE_BOOL,
.value.x_bool = false,
},
{
.module = "win",
.name = "setGuestRes",
.description = "On window size change, request the guest to match"
" resoution (if supported by the guest, currently LG IDD only)",
.type = OPTION_TYPE_BOOL,
.value.x_bool = true,
},
{
.module = "win",
.name = "fpsMin",
@@ -717,6 +725,7 @@ bool config_load(int argc, char * argv[])
g_params.helpMenuDelayUs = option_get_int("input", "helpMenuDelay") * (uint64_t) 1000;
g_params.minimizeOnFocusLoss = option_get_bool("win", "minimizeOnFocusLoss");
g_params.setGuestRes = option_get_bool("win", "setGuestRes" );
if ((g_params.useSpice = option_get_bool("spice", "enable")))
{