summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey V. Udaltsov <svu@gnome.org>2011-01-11 13:39:54 +0000
committerSergey V. Udaltsov <svu@gnome.org>2011-01-11 13:40:20 +0000
commit1371636923fc2dce373cdbc9bee30287ebfddf51 (patch)
tree0ded67d3450261c6e593bd46751fc134660caaa1
parent8cc4dd7aac9c386507052071d748f9d7b6b342e8 (diff)
fixing "both shifts together"
https://bugs.freedesktop.org/show_bug.cgi?id=30898
-rw-r--r--compat/complete1
-rw-r--r--compat/default1
-rw-r--r--symbols/shift6
3 files changed, 4 insertions, 4 deletions
diff --git a/compat/complete b/compat/complete
index dd49a5c4..cd8d059a 100644
--- a/compat/complete
+++ b/compat/complete
@@ -8,5 +8,6 @@ default xkb_compatibility "complete" {
augment "misc"
augment "xfree86"
augment "level5"
+ augment "caps(caps_lock)"
};
diff --git a/compat/default b/compat/default
index 5355e131..090793fd 100644
--- a/compat/default
+++ b/compat/default
@@ -10,4 +10,5 @@ default xkb_compatibility "default" {
// ??should be changed/renamed/removed
// augment "xfree86"
augment "japan"
+ augment "caps(caps_lock)"
};
diff --git a/symbols/shift b/symbols/shift
index cc97b5c3..78951c1e 100644
--- a/symbols/shift
+++ b/symbols/shift
@@ -23,8 +23,7 @@ partial modifier_keys
xkb_symbols "lshift_both_capslock" {
key <LFSH> {
type[Group1]="TWO_LEVEL",
- symbols[Group1] = [ Shift_L, Caps_Lock ],
- actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ]
+ symbols[Group1] = [ Shift_L, Caps_Lock ]
};
};
// When pressed together with another Shift key, set or unset Lock.
@@ -32,8 +31,7 @@ partial modifier_keys
xkb_symbols "rshift_both_capslock" {
key <RTSH> {
type[Group1]="TWO_LEVEL",
- symbols[Group1] = [ Shift_R, Caps_Lock ],
- actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ]
+ symbols[Group1] = [ Shift_R, Caps_Lock ]
};
};
partial modifier_keys