[osg-submissions] osgViewer/X11: consider capslock on FocusOut/FocusIn key handling

Melchior FRANZ melchior.franz at gmail.com
Thu Mar 13 07:14:57 PDT 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11-capslock.tar.gz
Type: application/x-tgz
Size: 13712 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080313/adb65c01/attachment-0001.bin 


More information about the osg-submissions mailing list