From 27792f6f1641bba0fe47b056eeab54ee4d5d46f1 Mon Sep 17 00:00:00 2001 From: Daniel Schepler Date: Mon, 23 May 2005 09:52:23 +0000 Subject: [PATCH] Implement CDS_TEST flag in ChangeDisplaySettings. --- dlls/x11drv/settings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/x11drv/settings.c b/dlls/x11drv/settings.c index 6479aa451f7..429a407c974 100644 --- a/dlls/x11drv/settings.c +++ b/dlls/x11drv/settings.c @@ -284,7 +284,8 @@ LONG X11DRV_ChangeDisplaySettingsExW( LPCWSTR devname, LPDEVMODEW devmode, } /* we have a valid mode */ TRACE("Requested display settings match mode %ld (%s)\n", i, handler_name); - pSetCurrentMode(i); + if (!(flags & CDS_TEST)) + pSetCurrentMode(i); return DISP_CHANGE_SUCCESSFUL; }