167b6e69e4
To reproduce the problem I attach a minimally modified osgviewer that just prints resize events. You can check what's printed in the console when you go fullscreen and windowed a few times. The attached version of GraphicsWindowX11 fixes the problem for me, but I'm not sure this is the right approach. Maybe you can see a fix for the problem clearer. The only place where the RESIZE event is generated in GraphicsWindowX11 is in CheckEvents and it then depends on the ConfigureNotify message. For some reason, either ConfigureNotify is not sent when going fullscreen or the traits already reflect the latest window size." |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CompositeViewer.cpp | ||
DarwinUtils.h | ||
DarwinUtils.mm | ||
GraphicsWindow.cpp | ||
GraphicsWindowCarbon.cpp | ||
GraphicsWindowCocoa.mm | ||
GraphicsWindowIOS.mm | ||
GraphicsWindowWin32.cpp | ||
GraphicsWindowX11.cpp | ||
HelpHandler.cpp | ||
IOSUtils.h | ||
IOSUtils.mm | ||
PixelBufferCarbon.cpp | ||
PixelBufferCocoa.mm | ||
PixelBufferWin32.cpp | ||
PixelBufferX11.cpp | ||
Renderer.cpp | ||
Scene.cpp | ||
ScreenCaptureHandler.cpp | ||
StatsHandler.cpp | ||
Version.cpp | ||
View.cpp | ||
Viewer.cpp | ||
ViewerBase.cpp | ||
ViewerEventHandlers.cpp |