[osg-submissions] osgViewer/X11: consider capslock on FocusOut/FocusIn key handling
Robert Osfield
robert.osfield at gmail.com
Thu Mar 13 08:22:24 PDT 2008
Thanks, the changes are now safely applied and add caps lock support to X11 :-)
Under testing I did notice that the caps lock gets out of sync if you
leave the window, toggle and re-enter the window then toggle again.
When things settle down at me end I will make time to have a look at
fixing this.
Robert.
On Thu, Mar 13, 2008 at 2:14 PM, Melchior FRANZ
<melchior.franz at gmail.com> wrote:
> Hi,
>
> * Robert Osfield -- Thursday 13 March 2008:
>
> > I can't find any record of your earlier submission w.r.t caps lock so
> > if it hadn't been ignored.
>
> Oh, I had assumed that you somehow missed the message, but that it
> would certainly be somewhere buried in your inbox. The patch was
> only for rewiewing (and should also serve as a reminder :-). I wouldn't
> have submitted it as the primary source, and certainly not without
> "context".
>
> I had submitted a patch that prevents keys getting stuck when switching
> desktops or minimizing/revealing windows in X11. You committed it, but
> noticed that it doesn't work for capslock. I submitted a fix for it the
> next day.
>
> This patch remembers the capslock state and re-applies it when the
> window gets focus again.
>
>
> Attached, archive containing:
>
> ./src/osgViewer/GraphicsWindowX11.cpp
> ./include/osgViewer/api/X11/GraphicsWindowX11
>
> m.
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
More information about the osg-submissions
mailing list