[PATCH 2/2] winemac: Add support for a DisableWindowDecorations registry setting.

Alexandre Julliard julliard at winehq.org
Thu Nov 21 06:45:51 CST 2013


Ken Thomases <ken at codeweavers.com> writes:

> @@ -166,6 +167,9 @@ static void setup_options(void)
>      if (!get_config_key(hkey, appkey, "AllowSoftwareRendering", buffer, sizeof(buffer)))
>          allow_software_rendering = IS_OPTION_TRUE(buffer[0]);
>  
> +    if (!get_config_key(hkey, appkey, "DisableWindowDecorations", buffer, sizeof(buffer)))
> +        disable_window_decorations = IS_OPTION_TRUE(buffer[0]);
> +

Disable-style options should be avoided, the double negatives are
confusing for users. Also using the same option name as the X11 driver
for the same feature may be a good idea.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list