[osg-users] Get monitor resolutions on extended desktops

Robert Osfield robert.osfield at gmail.com
Wed Aug 10 06:54:43 PDT 2016


On 10 August 2016 at 14:30, Sebastian Schmidt <herrdersuppen at gmail.com> wrote:
> I tried WindowSystemInterface as i said, but while using two monitors with extended desktop view i get only one screen with the streched resolution instead of two separate.

I didn't see that part of the thread, sadly the forum/mailing list
mirroring doesn't always thread things correctly so you get threads
starting and restarting as a new thread without the parent so you
don't always get to see all what's been said...

FYI, the Linux WindowSystemInterface implementation uses X11/XRANDR
calls to get the number of displays and resolution etc.  If this is
failing to get the values you expect then I'd guess the window
manager/driver is hiding these settings.  If this is case they you
might need to look at other platform specific API's to get the values.
I'm afraid this is limit of my knowledge on the particular area so
can't say what to use.

Robert.



More information about the osg-users mailing list