summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.