"Robert Osfield" <[EMAIL PROTECTED]> writes:

> On 5/3/07, Loic Dachary <[EMAIL PROTECTED]> wrote:
>>
>>   Does this mean that it's not possible to run the examples if your
>> display
>> is not :0 ? I feel like I'm missing something.
>
>
> The fallback used in osgViewer when no screen is specified is to query th=
> e
> available screens on display 0 then open up a window on each screen.  See
> the code in method View::setUpViewAcrossAllScreens() in
> src/osgViewer/Viewer.cpp.
>
> I'm open to suggestions for improvements.  Implementing
> GraphicsWindowX11.cpp is my foray into X11 programming for over a decade =
> so
> it may well need some tweaks here and there to make it more flexible,
> portable across systems.

  I'd say 99.99% of the X11 applications obey the DISPLAY environment
variable in the same way, hence my surprise. [<hostname>]:<display>[.<screen>]
<hostname> defaults to localhost, and <screen> defaults to zero.

  Cheers,

-- 
+33 1 76 60 72 81  Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
Latitude: 48.86962325498033 Longitude: 2.3623046278953552

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to