winex11: X11DRV_nores_SetCurrentMode return DISP_CHANGE_SUCCESSFUL when switching to the current mode.
This commit is contained in:
parent
f3a645f0de
commit
2c39733eab
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue