[osg-users] DISPLAY ignored by osgViewer?
robert.osfield at gmail.com
Wed Oct 24 01:06:14 PDT 2007
You are mis-reading the View::setUpView* code, they all read the
display variable and then pass this on to the final GraphicsTraits
used to set up the windows.
The DISPLAY variable is an X11 variable for controlling where the
window will appear.
On 10/24/07, Paul Martz <pmartz at skew-matrix.com> wrote:
> I'm looking through the v2.2 source, and although OSG appears to parse the
> DISPLAY environment variable, it never appears to use its values. In
> particular, the following osgViewer::Viewer entry points override the
> screenNum values specified in DISPLAY:
> Is this intentional? If so, why bother parsing DISPLAY at all?
> To ask the question another way: I'm trying to create an environment
> variable reference for OSG and want to document all environment variables
> that OSG reads. Can someone tell me what effect setting the DISPLAY
> environment variable has?
> Paul Martz
> Skew Matrix Software LLC
> 303 859 9466
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users