summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-08-30 15:32:50 +0000
committerFrancois Pons <fpons@mandriva.com>2001-08-30 15:32:50 +0000
commit32dec9255441bab8e54df8178c9598c0dd4b70de (patch)
tree10811d2a3ff3ac6f25608d82e4ab22b8d5dd4de8
parent5889f2608f4b2c482c43a9723e6a941f6a41775b (diff)
downloaddrakx-32dec9255441bab8e54df8178c9598c0dd4b70de.tar
drakx-32dec9255441bab8e54df8178c9598c0dd4b70de.tar.gz
drakx-32dec9255441bab8e54df8178c9598c0dd4b70de.tar.bz2
drakx-32dec9255441bab8e54df8178c9598c0dd4b70de.tar.xz
drakx-32dec9255441bab8e54df8178c9598c0dd4b70de.zip
make sure default to set 3 for nbuttons for getinfoFromXF86Config for second
mouse if this mouse has 3 buttons.
-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 3b40de6f5..8b1a9671d 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -162,6 +162,7 @@ sub getinfoFromXF86Config {
#- final clean-up.
$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).
#- try to merge with $o, the previous has been obtained by ddcxinfos.