summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-28 14:52:43 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-28 14:52:43 +0000
commit0eb0cb6867f9d3bcb49915b8ae0098b4b13d62b7 (patch)
treeff1a49a7d50eba23d5ba7efa11192f9b70325c41
parent07a2a60ad792948d9c0270963ac06522c784777f (diff)
downloaddrakx-backup-do-not-use-0eb0cb6867f9d3bcb49915b8ae0098b4b13d62b7.tar
drakx-backup-do-not-use-0eb0cb6867f9d3bcb49915b8ae0098b4b13d62b7.tar.gz
drakx-backup-do-not-use-0eb0cb6867f9d3bcb49915b8ae0098b4b13d62b7.tar.bz2
drakx-backup-do-not-use-0eb0cb6867f9d3bcb49915b8ae0098b4b13d62b7.tar.xz
drakx-backup-do-not-use-0eb0cb6867f9d3bcb49915b8ae0098b4b13d62b7.zip
fixed wrong mouse probe.
-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 52e4edb5c..81929b6df 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -30,6 +30,7 @@ sub getinfo {
my ($mouse) = mouse::detect();
add2hash($o->{mouse}, $mouse) unless $o->{mouse}{XMOUSETYPE};
add2hash($o->{mouse}{auxmouse}, $mouse->{auxmouse}) unless $o->{mouse}{auxmouse}{XMOUSETYPE};
+ $o->{mouse}{auxmouse}{XMOUSETYPE} or delete $o->{mouse}{auxmouse};
$o->{mouse}{device} ||= "mouse" if -e "/dev/mouse";
$o;