summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-08-30 16:15:45 +0000
committerFrancois Pons <fpons@mandriva.com>2001-08-30 16:15:45 +0000
commit4aee6136f674cffe3f4acf17d58f32c6bbe32768 (patch)
treebe7233471397481ae123f26ad016f3e5d34c5fd7
parenta28e581a80ba129b71268fdf7e357d06ca2bb52b (diff)
downloaddrakx-4aee6136f674cffe3f4acf17d58f32c6bbe32768.tar
drakx-4aee6136f674cffe3f4acf17d58f32c6bbe32768.tar.gz
drakx-4aee6136f674cffe3f4acf17d58f32c6bbe32768.tar.bz2
drakx-4aee6136f674cffe3f4acf17d58f32c6bbe32768.tar.xz
drakx-4aee6136f674cffe3f4acf17d58f32c6bbe32768.zip
when reading existing configuration for mouse, update type|name for second mouse too.
-rw-r--r--perl-install/Xconfig.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index 8b1a9671d..5d8652ab5 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -164,6 +164,7 @@ sub getinfoFromXF86Config {
$mouse{nbuttons} ||= 3; #- when no tag found, this is because there is 3 buttons.
$mouse{auxmouse}{nbuttons} ||= 3;
mouse::update_type_name(\%mouse); #- allow getting fullname (type|name).
+ mouse::update_type_name($mouse{auxmouse});
#- try to merge with $o, the previous has been obtained by ddcxinfos.
add2hash($o->{keyboard} ||= {}, \%keyboard);