On Wed, 2008-08-13 at 13:45 -0400, Fuesz, Matthew wrote:
> > Ah, okay--perhaps I spoke too quickly and assumed too much. :)
> 
> > I'm using osgViewer::WindowSizeHandler in many of my apps--and the
> > osgWidget examples--to respond to the "F" keypress. On my system
> (Fedora
> > 9 running Gnome), going into fullscreen mode doesn't generate a
> standard
> > RESIZE event. However, coming out of fullscreen mode into windowed
> mode
> > does.
> 
> > At any rate, I had not considered the possibility it could be a bug in
> > my windowing system. I'll do some searching through the archives and
> > whatnot...
> 
> 
> It's likely not a bug in the windowing system either.
> 
> Running a true fullscreen mode - not a maximized window - should *not*
> generate a resize event, since there is no window being resized. Rather,
> you are switching from a window-based rendering mode to a screen-based
> rendering mode. Typically, the windowing system will be acting on a
> different message (sometimes linked to a message from the renderer, i.e.
> OGL here) when switching to fullscreen mode. Windows and fullscreen
> modes require different handling methods due to the differences in their
> inherent nature. 

This seems to be a good summary of the situation. Given this
information, would it be reasonable to introduce a new event for this
action, or should I (and others needing to know when a window has gone
fullscreen) derive our own WindowSizeHandler to intercept the request
the go into a scree-based rendering mode?

Either seems perfectly fine, to be honest. :)

> --
> Matthew W. Fuesz
> Software Engineer Asc.
> Lockheed Martin STS
> 1210 Massillon Road
> Akron, OH 44315
> [EMAIL PROTECTED]
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to