The -1 is almost certainly correct in this case. You'd probably want to add code that makes ":0" a valid string, not invalidating the "fail" case. :)
On Fri, 2007-12-28 at 13:37 -0800, Zach Welch wrote: > Howdy, > > The attached patch fixes the > osg::GraphicsContext::ScreenIdentifier::setScreenIdentifier method to > correctly default to the first screen for systems where `DISPLAY=:0'. > > Cheers, > > Zach Welch > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
