Report Xinerama as not supported when it fails to detect any devices. Fixes issue on Nvidia drivers when Twinview is enabled.

This commit is contained in:
the_fiddler 2010-10-09 19:11:45 +00:00
parent dd41ed9610
commit f2d418e3d1

View file

@ -116,7 +116,7 @@ namespace OpenTK.Platform.X11
deviceToScreen.Add(dev, 0 /*screen.ScreenNumber*/);
}
}
return true;
return (devices.Count>0);
}
static bool QueryXRandR(List<DisplayDevice> devices)