Commit 3101315b authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

Allow desktop=N in the [x11drv] section of .winerc, instead of

defaulting to desktop=640x480.
parent 914406f8
......@@ -125,7 +125,11 @@ static void setup_options(void)
count = sizeof(buffer);
if (!RegQueryValueExA( hkey, "Desktop", 0, &type, buffer, &count ))
Options.desktopGeometry = strdup(buffer);
/* Imperfect validation: If Desktop=N, then we don't turn on
** the --desktop option. We should really validate for a correct
** sizing entry */
if (! IS_OPTION_FALSE(buffer[0]))
Options.desktopGeometry = strdup(buffer);
}
if (Options.managed)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment