On Mon, Feb 25, 2008 at 4:27 PM, Melchior FRANZ <[EMAIL PROTECTED]> wrote: > > /home/robert/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1310: > > warning: converting to 'Time' from 'double' > > > > Which relates to: > > > > event.time = time; > > This can simple be changed to > > event.time = 0; > > We only fill an XKeyboardEvent here because adaptKey() needs it for > an XLookupString(). The time isn't needed in the event structure > anyway. It's only needed for the getEventQueue()->keyPress() call.
I was wondering about just setting time to 0, the X11 headers mention that 0 represents the current time. I've made this change and have now checked in your changes. > I'll submit a fix for the capslock problem. Thanks. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org