summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>1999-12-27 09:37:10 +0000
committerFrederic Lepied <flepied@mandriva.com>1999-12-27 09:37:10 +0000
commitcbb523fc76d378cba3cc8cdb2456839d1d7cb21b (patch)
tree3631390c92b14931b13138c7d6e6831f7cd881f1
parent76ced50dbaf67dbec2274889c4f3f6ad7eb468b0 (diff)
downloaddrakx-backup-do-not-use-cbb523fc76d378cba3cc8cdb2456839d1d7cb21b.tar
drakx-backup-do-not-use-cbb523fc76d378cba3cc8cdb2456839d1d7cb21b.tar.gz
drakx-backup-do-not-use-cbb523fc76d378cba3cc8cdb2456839d1d7cb21b.tar.bz2
drakx-backup-do-not-use-cbb523fc76d378cba3cc8cdb2456839d1d7cb21b.tar.xz
drakx-backup-do-not-use-cbb523fc76d378cba3cc8cdb2456839d1d7cb21b.zip
* (selectMouse): use XEMU3 only when 2 buttons or less.
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 0e9eae8f2..a828d6f77 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -131,7 +131,7 @@ sub selectMouse {
$name = $o->ask_from_list_('', _("What is the type of your mouse?"), [ mouse::names() ], $name);
$o->{mouse} = mouse::name2mouse($name);
}
- $o->{mouse}{XEMU3} = 'yes'; #- if $o->{mouse}{nbuttons} < 3 && $o->ask_yesorno('', _("Emulate third button?"), 1);
+ $o->{mouse}{XEMU3} = 'yes' if $o->{mouse}{nbuttons} < 3; #- if $o->{mouse}{nbuttons} < 3 && $o->ask_yesorno('', _("Emulate third button?"), 1);
if ($o->{mouse}{device} eq "ttyS") {
$o->set_help('selectSerialPort');