On Wed, Aug 13, 2008 at 7:03 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote: >> 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?
The place to add the code is in the GraphicsWindowX11.cpp, rather than the WindowSizeHandler, as this handler is not the only way that users can resize the windows. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

