* Robert Osfield -- Monday 25 February 2008:
> /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'll submit a fix for the capslock problem.

m.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to