summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-26 11:44:13 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-26 11:44:13 +0000
commit2217db2d8f69a6800b63756da7b49e85388ca593 (patch)
treeab6251114734d0ad7a6743cd0810311f417a8da6 /perl-install
parent5b144db234759e521ca2adab99c0d15792ecf4c3 (diff)
downloaddrakx-backup-do-not-use-2217db2d8f69a6800b63756da7b49e85388ca593.tar
drakx-backup-do-not-use-2217db2d8f69a6800b63756da7b49e85388ca593.tar.gz
drakx-backup-do-not-use-2217db2d8f69a6800b63756da7b49e85388ca593.tar.bz2
drakx-backup-do-not-use-2217db2d8f69a6800b63756da7b49e85388ca593.tar.xz
drakx-backup-do-not-use-2217db2d8f69a6800b63756da7b49e85388ca593.zip
(set_xfree_conf) don't create crappy auxmouse if there is none
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 956692057..55067cad6 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -365,7 +365,7 @@ sub set_xfree_conf {
my ($mouse, $xfree_conf, $b_keep_auxmouse_unchanged) = @_;
my ($synaptics, $mouse_) = partition { $_->{name} eq N_("Synaptics Touchpad") }
- @{[ $mouse, if_($mouse->{auxmouse}, $mouse->{auxmouse}) ]};
+ @{[ $mouse, if_(!is_empty_hash_ref $mouse->{auxmouse}, $mouse->{auxmouse}) ]};
my @mice = map {
{
Protocol => $_->{XMOUSETYPE},