From 32dec9255441bab8e54df8178c9598c0dd4b70de Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 30 Aug 2001 15:32:50 +0000 Subject: make sure default to set 3 for nbuttons for getinfoFromXF86Config for second mouse if this mouse has 3 buttons. --- perl-install/Xconfig.pm | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.1