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:
parent
dd41ed9610
commit
f2d418e3d1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue