summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-07-10 16:33:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-07-10 16:33:21 +0000
commit640255572c30658ad75a7ed7948617dd56fdeaa4 (patch)
treeaad1cfd9e13b4490a611dbdd51200621b65fe4ed /perl-install/Xconfig.pm
parent8177c7b2bdc55ff489f39c471085db9064ae359b (diff)
downloaddrakx-backup-do-not-use-640255572c30658ad75a7ed7948617dd56fdeaa4.tar
drakx-backup-do-not-use-640255572c30658ad75a7ed7948617dd56fdeaa4.tar.gz
drakx-backup-do-not-use-640255572c30658ad75a7ed7948617dd56fdeaa4.tar.bz2
drakx-backup-do-not-use-640255572c30658ad75a7ed7948617dd56fdeaa4.tar.xz
drakx-backup-do-not-use-640255572c30658ad75a7ed7948617dd56fdeaa4.zip
no_comment
Diffstat (limited to 'perl-install/Xconfig.pm')
-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 925c836e0..fb1b03cc4 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -30,6 +30,7 @@ sub getinfo {
add2hash($o->{mouse}, mouse::detect()) unless $o->{mouse}{XMOUSETYPE};
$o->{mouse}{device} ||= "mouse" if -e "/dev/mouse";
+ $o->{mouse}{nbuttons} ||= mouse::X2nbuttons($o->{mouse}{XMOUSETYPE});
$o;
}