[PATCH 0/5] MR355: win32u: Move more display mode logic out of graphics drivers.
Zhiyi Zhang (@zhiyi)
wine at gitlab.winehq.org
Fri Jul 1 02:35:53 CDT 2022
Zhiyi Zhang (@zhiyi) commented about dlls/win32u/sysparams.c:
> return ret;
> }
>
> +static BOOL write_registry_settings( const WCHAR *adapter_path, const DEVMODEW *mode )
> +{
> + HANDLE mutex;
> + HKEY hkey;
> + BOOL ret;
> +
> + mutex = get_display_device_init_mutex();
> +
> + if (!config_key && !(config_key = reg_open_key( NULL, config_keyW, sizeof(config_keyW) ))) return FALSE;
mutex is not released here.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/355#note_3097
More information about the wine-devel
mailing list