Commit 9d5295f5 authored by 's avatar Committed by Alexandre Julliard

Correct mode nr passed to X11DRV_XF86VM_SetCurrentMode.

parent 9b77c947
......@@ -538,7 +538,7 @@ LONG X11DRV_ChangeDisplaySettingsExW( LPCWSTR devname, LPDEVMODEW devmode,
}
/* we have a valid mode */
TRACE("Matches mode %ld\n", i);
X11DRV_XF86VM_SetCurrentMode(i-1);
X11DRV_XF86VM_SetCurrentMode(i);
#if 0 /* FIXME */
SYSMETRICS_Set( SM_CXSCREEN, devmode->dmPelsWidth );
SYSMETRICS_Set( SM_CYSCREEN, devmode->dmPelsHeight );
......
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