Oh, I see... and I've found my problem now (I was applying that option to the wrong camera's rendersurface).

Anyway, I can now run my application in fullscreen without the gnome panels! Thanks.

But, I guess I lose the ability to switch to a proper gnome-like window, right? ie, if I leave fullscreen, I get a smaller window in the middle of my screen, but it has no border or titlebar. I can't move it or bring another window in front anymore.

...seems like you can't have it all ;)

-Mike

Don Burns wrote:
Just try running with this config file:

Camera "Camera 1"
{
    RenderSurface "OpenSceneGraphViewer"
    {
         Visual  { SetSimple }
         Border off;
         OverrideRedirect true;
    }
    Lens {
        Frustum -.032 .032 -.026 .026 0.1 10000.0;
    }
}



On 11/1/06, *Mike Wozniewski* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Oops. Disregard that last comment. I had it in the wrong place
    (after my
    viewer.realize() ). I moved it earlier in the code, and now I get a
    segfault when running.

    gdb output:

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread -1226819872 (LWP 10627)]
    0xb7b0c51b in Producer::RenderSurface::_useOverrideRedirect ()
       from /usr/local/lib/libProducer.so
    (gdb) bt
    #0  0xb7b0c51b in Producer::RenderSurface::_useOverrideRedirect ()
       from /usr/local/lib/libProducer.so
    #1  0xb7afd5fd in Producer::RenderSurface::useOverrideRedirect ()
       from /usr/local/lib/libProducer.so
    #2  0x08055344 in main (argc=1, argv=0xbfece1f4) at
    OSGexternalRenderer.cpp :482


    -Mike

    Mike Wozniewski wrote:
    > Thanks for the response Don, but that didn't work.
    >
    > Any other ideas?
    >
    > -Mike
    >
    > Don Burns wrote:
    >> Try overrideredirect.
    >>
    >> -don
    >>
    >> On 11/1/06, *Mike Wozniewski* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> wrote:
    >>
    >>     Hi all,
    >>
    >>     I am running an OSG application on a linux box (ubuntu
    6.06, with
    >>     gnome
    >>     2.14.3).
    >>
    >>     Whenever I go into fullscreen mode, I still see all of my
    gnome
    >> panels
    >>     on top. Does anyone else have this problem? Does anyone
    know how
    >>     to get
    >>     rid of it?
    >>
    >>     This problem appears in OSG 1.0, 1.1, and the current CVS
    build.
    >>
    >>     Thanks a ton!
    >>     -Mike Wozniewski
    >>     _______________________________________________
    >>     osg-users mailing list
    >>     [email protected]
    <mailto:[email protected]>
    <mailto:[email protected]
    <mailto:[email protected]>>
    >>     http://openscenegraph.net/mailman/listinfo/osg-users
    <http://openscenegraph.net/mailman/listinfo/osg-users>
    >>     http://www.openscenegraph.org/ <http://www.openscenegraph.org/>
    >>
    >>
    >>
    ------------------------------------------------------------------------

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

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


------------------------------------------------------------------------

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

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

Reply via email to