Even if we ignore the modifiers, we still have to respect
the active group when we go looking for the level 3 shift key.


git-svn-id: https://tigervnc.svn.sourceforge.net/svnroot/tigervnc@5117 3789f03b-4d11-0410-bbf8-ca57d06f2519
Simplify the lookup of alternative keysyms.


git-svn-id: https://tigervnc.svn.sourceforge.net/svnroot/tigervnc@5118 3789f03b-4d11-0410-bbf8-ca57d06f2519
Some applications (e.g. wine and rdesktop) tend to misbehave
when we use fake shift to get different symbols on the numpad.
So avoid using fake shifts on NumLock related keys and hope
that other applications won't get upset by getting the
non-numpad keysym counterparts.


git-svn-id: https://tigervnc.svn.sourceforge.net/svnroot/tigervnc@5119 3789f03b-4d11-0410-bbf8-ca57d06f2519
Copy r5117 through r5119 from trunk.


git-svn-id: https://tigervnc.svn.sourceforge.net/svnroot/tigervnc@5120 3789f03b-4d11-0410-bbf8-ca57d06f2519