* Robert Osfield -- Monday 25 February 2008:
> I was wondering about just setting time to 0, the X11 headers mention
> that 0 represents the current time.

The XKeyEvent is only filled out for XLookupString, which in turn
only looks at the display, keycode and the modifier mask for
translating the keycode according to the translation table. All
other struct members are only filled out "just in case". The
event is never sent, so the time doesn't matter at all.
Unfortunately, there didn't seem to be another way to get the
same result as XLookupString() would return, but without having
to provide an event structure.

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

Reply via email to