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

Melchior FRANZ melchior.franz at gmail.com
Thu Mar 13 09:14:02 PDT 2008


* Robert Osfield -- Thursday 13 March 2008:
> 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.

No, I didn't miss anything and (even) more testing wouldn't have
helped: I can't reproduce that here. It works correctly. The capslock
state is queried on EnterNotify, so it can't really get out of
sync. Can't imagine what's going on on your machine.  :-/

In case you mean that the "Caps" text doesn't turn violet in
osgviewer, that's because that's only when the key is in pressed
state, not when caps lock is activated.

m.


More information about the osg-submissions mailing list