[osg-users] OSG and Xinerama

Eric Sokolowsky esok127 at gmail.com
Fri Oct 12 04:46:57 PDT 2018

In case this helps someone else, here are the variables that Robert
referred to:

OSG_CONFIG_FILE - set to a filename where a configuration is read. I'm
still trying to determine the format of this.
OSG_SCREEN - Set to a screen number. Under Linux it appears to refer to an
X11 screen number (seems like it would be more useful to be an Xinerama
screen number, though).
OSG_WINDOW - Same as using --window. Set to 4 values separated by spaces: x
y w h; where x and y give the origin of the window and w and h is the size
of the window. The window will have decorations (window bar etc.)
OSG_BORDERLESS_WINDOW - same as OSG_WINDOW but without a border. This is
what I was originally looking for.

On Sat, Sep 8, 2018 at 3:40 AM Robert Osfield <robert.osfield at gmail.com>

> HI Eric,
> The change in behaviour is actually a fix for a regressions that
> happened when the Linux window managers changed.  It's just the
> default behavior that has changed for setUpViewAcrossAllScreens(), so
> it now behaves as it should.  You can adjust what happens by default
> using the Producer config files still if you want, or one of the env
> vars.  Run osgviewer --help-env to see the env vars.  The env vars
> You don't have to rely upon defaults in your application for window
> creation, you can explicitly set up the views windowing via on of the
> include/osgViewer/config/*, or st up the Camera and Windows manually
> as per the osgcamera example.
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181012/7fde5c06/attachment.html>

More information about the osg-users mailing list