summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/default.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-07 00:44:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-07 00:44:15 +0000
commit84dc6e1ef501b25d8fe20c0f99a21c5491fbf685 (patch)
tree78e51c3a4d5b25c86966a8a7db02fcdb16b7ac38 /perl-install/Xconfig/default.pm
parentc444f93dc13e0cfcefef21173b926ff8b9aa1c6b (diff)
downloaddrakx-84dc6e1ef501b25d8fe20c0f99a21c5491fbf685.tar
drakx-84dc6e1ef501b25d8fe20c0f99a21c5491fbf685.tar.gz
drakx-84dc6e1ef501b25d8fe20c0f99a21c5491fbf685.tar.bz2
drakx-84dc6e1ef501b25d8fe20c0f99a21c5491fbf685.tar.xz
drakx-84dc6e1ef501b25d8fe20c0f99a21c5491fbf685.zip
- XFdrake can detect a auxmouse which was not detected by mousedrake so we need to call various_xfree_conf()
- this implies adding parameter $do_pkgs to a few functions
Diffstat (limited to 'perl-install/Xconfig/default.pm')
-rw-r--r--perl-install/Xconfig/default.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/Xconfig/default.pm b/perl-install/Xconfig/default.pm
index 75947bf11..f41fccaf7 100644
--- a/perl-install/Xconfig/default.pm
+++ b/perl-install/Xconfig/default.pm
@@ -10,7 +10,7 @@ use mouse;
sub configure {
- my ($o_keyboard, $o_mouse) = @_;
+ my ($do_pkgs, $o_keyboard, $o_mouse) = @_;
my $keyboard = $o_keyboard || keyboard::read();
my $mouse = $o_mouse || do {
@@ -24,14 +24,15 @@ sub configure {
$raw_X->add_load_module($_) foreach qw(dbe v4l extmod type1 freetype);
config_keyboard($raw_X, $keyboard);
- config_mouse($raw_X, $mouse);
+ config_mouse($raw_X, $do_pkgs, $mouse);
$raw_X;
}
sub config_mouse {
- my ($raw_X, $mouse) = @_;
+ my ($raw_X, $do_pkgs, $mouse) = @_;
mouse::set_xfree_conf($mouse, $raw_X);
+ mouse::various_xfree_conf($do_pkgs, $mouse);
}
sub config_keyboard {