mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
Ignore frequency requests in Desktop mode.
This commit is contained in:
parent
22cf59ba43
commit
2ca5efea08
@ -277,7 +277,7 @@ LONG X11DRV_ChangeDisplaySettingsEx( LPCWSTR devname, LPDEVMODEW devmode,
|
||||
if (devmode->dmPelsHeight != dd_modes[i].dwHeight)
|
||||
continue;
|
||||
}
|
||||
if (devmode->dmFields & DM_DISPLAYFREQUENCY)
|
||||
if ((devmode->dmFields & DM_DISPLAYFREQUENCY) && (dd_modes[i].wRefreshRate != 0))
|
||||
{
|
||||
if (devmode->dmDisplayFrequency != dd_modes[i].wRefreshRate)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user