summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-23 13:15:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-23 13:15:56 +0000
commit7e59aaf61539198a33fcbded8216119bfbdfa806 (patch)
treea9ba219a4bbcbde423dfcfea16ea33ce4344fda1
parent497e409c9d749f868602d2135c5110b814a32792 (diff)
downloaddrakx-7e59aaf61539198a33fcbded8216119bfbdfa806.tar
drakx-7e59aaf61539198a33fcbded8216119bfbdfa806.tar.gz
drakx-7e59aaf61539198a33fcbded8216119bfbdfa806.tar.bz2
drakx-7e59aaf61539198a33fcbded8216119bfbdfa806.tar.xz
drakx-7e59aaf61539198a33fcbded8216119bfbdfa806.zip
use fast_mouse_probe first in mandrake move
-rw-r--r--perl-install/mouse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 44cd2ca60..766303c10 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -303,7 +303,7 @@ sub detect() {
#- at this level, not all possible mice are detected so avoid invoking serial_probe
#- which takes a while for its probe.
- if ($::isStandalone) {
+ if ($::isStandalone || $::move) {
my $mouse = $fast_mouse_probe->();
$mouse and return { wacom => \@wacom, %$mouse };
}
@@ -313,7 +313,7 @@ sub detect() {
my ($r, @serial_wacom) = mouseconfig(); push @wacom, @serial_wacom;
$r and return { wacom => \@wacom, %$r };
- if (!$::isStandalone) {
+ if (!$::isStandalone && !$::move) {
my $mouse = $fast_mouse_probe->();
$mouse and return { wacom => \@wacom, %$mouse };
}