mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-13 10:58:09 +00:00
[client] config: add option to disable auto client resolution switching
This commit is contained in:
@@ -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")))
|
||||
{
|
||||
|
Reference in New Issue
Block a user