From 2ca5efea08c8629166df89ca68400d70e4e62a34 Mon Sep 17 00:00:00 2001 From: Lionel Ulmer Date: Mon, 28 Nov 2005 10:39:28 +0100 Subject: [PATCH] Ignore frequency requests in Desktop mode. --- dlls/x11drv/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/x11drv/settings.c b/dlls/x11drv/settings.c index 3f0996ca11..5e3665f08d 100644 --- a/dlls/x11drv/settings.c +++ b/dlls/x11drv/settings.c @@ -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;