aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/symbols/capslock
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-28 12:47:32 +0000
committermarha <marha@users.sourceforge.net>2011-02-28 12:47:32 +0000
commit717b1a4e21b372e1343e33ae9348fbe5c6f8d7ed (patch)
tree1512dddc255b89d5d3ec35bfc541a357184a7d7f /xorg-server/xkeyboard-config/symbols/capslock
parent46ff5affddfec90a099d55945ab2f857a5a75e57 (diff)
parentfeee2b5ceb37101bd1c4162e49805e6ad63e28ae (diff)
downloadvcxsrv-717b1a4e21b372e1343e33ae9348fbe5c6f8d7ed.tar.gz
vcxsrv-717b1a4e21b372e1343e33ae9348fbe5c6f8d7ed.tar.bz2
vcxsrv-717b1a4e21b372e1343e33ae9348fbe5c6f8d7ed.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/xkeyboard-config/symbols/capslock')
-rw-r--r--xorg-server/xkeyboard-config/symbols/capslock12
1 files changed, 12 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/symbols/capslock b/xorg-server/xkeyboard-config/symbols/capslock
index 288a1d293..6daf5c1ed 100644
--- a/xorg-server/xkeyboard-config/symbols/capslock
+++ b/xorg-server/xkeyboard-config/symbols/capslock
@@ -60,3 +60,15 @@ partial hidden modifier_keys
xkb_symbols "numlock" {
key <CAPS> { [ Num_Lock ] };
};
+
+// This changes the modifier behavior of the <CAPS> key.
+// The keysym will be reset to Caps_Lock
+partial hidden modifier_keys
+xkb_symbols "ctrl_modifier" {
+ replace key <CAPS> {
+ type[Group1] = "ONE_LEVEL",
+ symbols[Group1] = [ Caps_Lock ],
+ actions[Group1] = [ SetMods(modifiers=Control) ]
+ };
+ modifier_map Control { <CAPS> };
+};