Hi Thibault, I've merged your fix and checked it into SVN. The code looks like it should be safe to be called before or after the window is created and make current so I've merged it, but I'd like to raise the query - do you think it'll be safe to call before/after the window has been created/made current?
Robert. On Wed, May 28, 2008 at 10:27 AM, Thibault Genessay <[EMAIL PROTECTED]> wrote: > Hi > > On Windows, when setting a cursor through > osgViewer::GraphicsWindow::setCursor() the new cursor type is recorded > but not applied until windows sends another WM_SETCURSOR message. This > delays the application of the cursor to the next mouse event. > > The attached file fixes this by setting the new cursor with a call to > ::SetCursor() immediately. > > Regards > > Thibault > > ps: looks like I managed to reach the list this time :) > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
