Commit 2ca5efea authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Ignore frequency requests in Desktop mode.

parent 22cf59ba
...@@ -277,7 +277,7 @@ LONG X11DRV_ChangeDisplaySettingsEx( LPCWSTR devname, LPDEVMODEW devmode, ...@@ -277,7 +277,7 @@ LONG X11DRV_ChangeDisplaySettingsEx( LPCWSTR devname, LPDEVMODEW devmode,
if (devmode->dmPelsHeight != dd_modes[i].dwHeight) if (devmode->dmPelsHeight != dd_modes[i].dwHeight)
continue; continue;
} }
if (devmode->dmFields & DM_DISPLAYFREQUENCY) if ((devmode->dmFields & DM_DISPLAYFREQUENCY) && (dd_modes[i].wRefreshRate != 0))
{ {
if (devmode->dmDisplayFrequency != dd_modes[i].wRefreshRate) if (devmode->dmDisplayFrequency != dd_modes[i].wRefreshRate)
continue; continue;
......
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