Implement CDS_TEST flag in ChangeDisplaySettings.

This commit is contained in:
Daniel Schepler 2005-05-23 09:52:23 +00:00 committed by Alexandre Julliard
parent bb4d6f88bf
commit 27792f6f16
1 changed files with 2 additions and 1 deletions

View File

@ -284,6 +284,7 @@ LONG X11DRV_ChangeDisplaySettingsExW( LPCWSTR devname, LPDEVMODEW devmode,
}
/* we have a valid mode */
TRACE("Requested display settings match mode %ld (%s)\n", i, handler_name);
if (!(flags & CDS_TEST))
pSetCurrentMode(i);
return DISP_CHANGE_SUCCESSFUL;
}