Thanks Wojciech, I can't make any judgment on the robustness of the
changes, but I'm happy to defer to yourself on greater expertise in
Win32 matters.  If there are any potentially hopefully the community
will be able to pick up on them.  Changes now checked into svn/trunk.
Cheers, Robert.

2011/9/14 Wojciech Lewandowski <[email protected]>:
> Hi, Robert
>
> There was a bug in reading modifier keys when focus to GraphicsWindowWin32
> was restored. Handler of WM_SETFOCUS was reading pressed keys and sending
> WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages
> sent had  0 on lParam and adaptKey method computing state of modifier mask
> was using lParam to find which modifier keys are down. Obviously when lParam
> was 0 it was not recording proper modifier masks.
>
> This patch fixes this code sending proper lParam and also makes sure
> LEFT_CONTROL will be not confused with RIGHT_CONTROL. File zipped to avoid
> mess-up by the mailer client.
>
> Cheers,
> Wojtek Lewandowski
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to