Hi,

* Jean-Sébastien Guay -- Wednesday 30 July 2008:
> I really did not intend to criticize the equivalent X11 fix,

No problem, I didn't take that personally, and I might have come
to the same conclusions if we had changed roles. Also criticizing
code is fine. I just wanted to explain why things are as they are. :-)



> When you start the example on a machine with two monitors,

I'll try if you send me some.  ;-)



> If I click in the left monitor (so the focus is on the left-side 
> GraphicsWindowWin32), then press alt-tab to switch to another 
> application and then click on the osgkeyboard example but on the *right* 
> monitor (so the focus returns to the right-hand GraphicsWindowWin32), 
> then the alt key is still stuck [...]

Yes, but I'm "unpressing" the key when the mouse leaves the first
window, so I don't think it can get stuck on X11. In my naivety
I'd expect that the X11 version doesn't have problems with multiple
windows. Now, multiple keyboards are a different matter. But I
might be missing something ...



> And before you ask why I don't just call keyRelease() for all keys, I 
> can't, because then the KEYUP event for Esc would cause the example to 
> exit.

Yes, but I'm only releasing the keys that are still considered in
pressed state, but reportedly aren't. I'm not force-releasing
every key. But you said that you can't do that on Win32, so
that's indeed a problem.

m.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to