summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-04 22:12:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-04 22:12:37 +0000
commitea53889397cdeccecf3a61b9c20c953629026cd4 (patch)
tree98241aeddb6c0cbae0496da7004f46875fd40a04 /perl-install/keyboard.pm
parent7c6d4b3c60d8ac02d3d1bd3f06f034002267ba8a (diff)
downloaddrakx-ea53889397cdeccecf3a61b9c20c953629026cd4.tar
drakx-ea53889397cdeccecf3a61b9c20c953629026cd4.tar.gz
drakx-ea53889397cdeccecf3a61b9c20c953629026cd4.tar.bz2
drakx-ea53889397cdeccecf3a61b9c20c953629026cd4.tar.xz
drakx-ea53889397cdeccecf3a61b9c20c953629026cd4.zip
add XkbCompat "group_led" for all keyboards where a group layout switching is used
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index f9145e90f..2694b5ddc 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -403,8 +403,9 @@ sub keyboard2full_xkb {
$XkbLayout ? {
XkbLayout => $XkbLayout,
XkbModel => $XkbModel,
- XkbOptions => $keyboard->{GRP_TOGGLE} ? "grp:$keyboard->{GRP_TOGGLE}" : undef,
- } : { XkbDisable => undef };
+ XkbOptions => $keyboard->{GRP_TOGGLE} ? "grp:$keyboard->{GRP_TOGGLE}" : '',
+ XkbCompat => $keyboard->{GRP_TOGGLE} ? "group_led" : '',
+ } : { XkbDisable => '' };
}
sub xmodmap_file {