$NetBSD: patch-ca,v 1.1 2008/06/28 05:18:57 jmcneill Exp $ --- dlls/winex11.drv/settings.c.orig 2008-06-27 11:42:50.000000000 -0400 +++ dlls/winex11.drv/settings.c 2008-06-27 11:43:40.000000000 -0400 @@ -431,6 +431,16 @@ return DISP_CHANGE_SUCCESSFUL; } + if (devmode->dmPelsWidth == 800 && devmode->dmPelsHeight == 600) + { + DEVMODEW newdm = *devmode; + + ERR("800x600 not available, trying 800x480\n"); + newdm.dmPelsWidth = 800; + newdm.dmPelsHeight = 480; + return X11DRV_ChangeDisplaySettingsEx(devname, &newdm, hwnd, flags, lpvoid); + } + /* no valid modes found */ ERR("No matching mode found %ux%ux%u @%u! (%s)\n", devmode->dmPelsWidth, devmode->dmPelsHeight,