Hi,

so just for reference, I am answering my own question: I missed a

getEventQueue()->getCurrentEventState()->setWindowRectangle(traits->x,
traits->y, traits->width, traits->height );

in my setup-code.

cheers,
Stephan


Am 31.03.11 15:48, schrieb Stephan Maximilian Huber:
> Hi all,
> 
> I noticed that the two properties of GUIEventAdapter _windowWidth and
> _windowHeight stay at their initial values of 1280 respective 1024 if
> you don't move the window, or resize it. Only after moving /resizing the
> window, these properties got updated to the correct values.
> 
> I can see this behaviour on win32 + OS X. Does the X11-implementation
> behave the same? And what's the easiest way to fix this for all plattforms?
> 
> cheers,
> Stephan
> _______________________________________________
> 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