Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Melchior FRANZ
* Robert Osfield -- Monday 25 February 2008: although caps lock is currently getting out of sync. My keyboard doesn't have a caps lock key. But I'll plug another in and check. One other item that needs resolving is the warning:

Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 22 February 2008: Here's a new version with the following changes made: - be a bit more pedantic about modifier settings for artificially pressed/released keys - fix a compiler warning - simplification minor improvements attached:

Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Robert Osfield
On Mon, Feb 25, 2008 at 4:20 PM, Melchior FRANZ [EMAIL PROTECTED] wrote: * Melchior FRANZ -- Friday 22 February 2008: Here's a new version with the following changes made: - be a bit more pedantic about modifier settings for artificially pressed/released keys - fix a compiler

Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Melchior FRANZ
* 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

Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Melchior FRANZ
* 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

Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Robert Osfield
On Mon, Feb 25, 2008 at 4:19 PM, Melchior FRANZ [EMAIL PROTECTED] wrote: One other item that needs resolving is the warning: /home/robert/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1310: warning: converting to 'Time' from 'double' Err ... I told you to take the files from

Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Robert Osfield
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 =

Re: [osg-users] osgViewer/X11: fix for stuck-keys bug

2008-02-25 Thread Melchior FRANZ
* Melchior FRANZ -- Monday 25 February 2008: Err ... I told you to take the files from the followup message in that thread, not the one from the first message. Ah, sorry. You did that. :-/ I'll check the code again. m. ___ osg-users mailing list