[osg-users] BUG?: mouse coordinate changes after window move

Robert Osfield robert.osfield at gmail.com
Fri Sep 21 08:28:59 PDT 2007


Hi Lief,

On 9/21/07, Leif Delgass <ldelgass at gmail.com> wrote:
> I just tried the approach of setting the fullscreen state in
> setWindowRectangleImplementation,  and this works without changing the
> GraphicsWindow base class.  The only issue is: it has the side effect
> that changing the window size to the screen size through
> setWindowRectangle makes the window fullscreen, even if the window
> decorations have not been disabled through setWindowDecoration (this
> also leaves the windowDecoration context trait out of sync unless I
> set it to false in setWindowRectangle when going fullscreen).

I am wondering about having an extra option to for setWindowRectangle
which sets the window decoration at the same time. i..e

  setWindowRectangle(x,y,width,height,enableDecoration);

Would this help things?

Robert.



More information about the osg-users mailing list