aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/compat/xtest
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkeyboard-config/compat/xtest')
-rw-r--r--xorg-server/xkeyboard-config/compat/xtest23
1 files changed, 11 insertions, 12 deletions
diff --git a/xorg-server/xkeyboard-config/compat/xtest b/xorg-server/xkeyboard-config/compat/xtest
index 5ee88ccf8..f2ca6430d 100644
--- a/xorg-server/xkeyboard-config/compat/xtest
+++ b/xorg-server/xkeyboard-config/compat/xtest
@@ -1,18 +1,17 @@
-default xkb_compatibility "xtest" {
+default xkb_compatibility "xtest" {
// Minimal set of symbol interpretations to provide
- // reasonable behavior for testing. The X Test
- // Suite assumes that it can set any modifier by
- // simulating a KeyPress and clear it by simulating
- // a KeyRelease. Because of the way that XKB
- // implements locking/latching modifiers, this
- // approach fails in some cases (typically the
- // lock or num lock modifiers). These symbol
- // interpretations make all modifier keys just
- // set the corresponding modifier so that xtest
+ // reasonable behavior for testing.
+ // The X Test Suite assumes that it can set any modifier
+ // by simulating a KeyPress and clear it by simulating a
+ // KeyRelease. Because of the way that XKB implements
+ // locking/latching modifiers, this approach fails in
+ // some cases (typically the Lock or NumLock modifiers).
+ // These symbol interpretations make all modifier keys
+ // just set the corresponding modifier so that xtest
// will see the behavior it expects.
- virtual_modifiers NumLock,AltGr;
+ virtual_modifiers NumLock,AltGr;
interpret.repeat= False;
setMods.clearLocks= True;
@@ -43,7 +42,7 @@ default xkb_compatibility "xtest" {
group 4 = AltGr;
indicator.allowExplicit= False;
- indicator "Caps Lock" {
+ indicator "Caps Lock" {
modifiers= Lock;
};
indicator "Num Lock" {