diff options
author | Pierre Ossman <ossman@cendio.se> | 2010-06-15 13:02:47 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2010-06-15 13:02:47 +0000 |
commit | a1d10fc47acf8f9dafa2823914c78a3bdc158993 (patch) | |
tree | 857028bc38cc61f6da77c92b4a9533894cf3bd51 /unix | |
parent | 88e0c720579f2350f4248302d246eb67df125942 (diff) | |
download | tigervnc-a1d10fc47acf8f9dafa2823914c78a3bdc158993.tar.gz tigervnc-a1d10fc47acf8f9dafa2823914c78a3bdc158993.zip |
Map up the rest of the standard modifiers (if available).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4066 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r-- | unix/xserver/hw/vnc/Input.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc index 87db443f..3c574d74 100644 --- a/unix/xserver/hw/vnc/Input.cc +++ b/unix/xserver/hw/vnc/Input.cc @@ -907,6 +907,20 @@ static Bool GetMappings(KeySymsPtr pKeySyms, CARD8 *pModMap) case XK_Alt_R: pModMap[i + MIN_KEY] = Mod1Mask; break; + case XK_Num_Lock: + pModMap[i + MIN_KEY] = Mod2Mask; + break; + /* No defaults for Mod3Mask yet */ + case XK_Super_L: + case XK_Super_R: + case XK_Hyper_L: + case XK_Hyper_R: + pModMap[i + MIN_KEY] = Mod4Mask; + break; + case XK_ISO_Level3_Shift: + case XK_Mode_switch: + pModMap[i + MIN_KEY] = Mod5Mask; + break; } } |