winex11: X11DRV_nores_SetCurrentMode return DISP_CHANGE_SUCCESSFUL when switching to the current mode.

This commit is contained in:
Roderick Colenbrander 2010-08-17 20:35:29 +01:00 committed by Alexandre Julliard
parent f3a645f0de
commit 2c39733eab
1 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,8 @@ static int X11DRV_nores_GetCurrentMode(void)
static LONG X11DRV_nores_SetCurrentMode(int mode)
{
TRACE("Ignoring mode change request\n");
if (mode == 0) return DISP_CHANGE_SUCCESSFUL;
TRACE("Ignoring mode change request mode=%d\n", mode);
return DISP_CHANGE_FAILED;
}