diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-26 11:44:13 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-26 11:44:13 +0000 |
commit | 2217db2d8f69a6800b63756da7b49e85388ca593 (patch) | |
tree | ab6251114734d0ad7a6743cd0810311f417a8da6 | |
parent | 5b144db234759e521ca2adab99c0d15792ecf4c3 (diff) | |
download | drakx-2217db2d8f69a6800b63756da7b49e85388ca593.tar drakx-2217db2d8f69a6800b63756da7b49e85388ca593.tar.gz drakx-2217db2d8f69a6800b63756da7b49e85388ca593.tar.bz2 drakx-2217db2d8f69a6800b63756da7b49e85388ca593.tar.xz drakx-2217db2d8f69a6800b63756da7b49e85388ca593.zip |
(set_xfree_conf) don't create crappy auxmouse if there is none
-rw-r--r-- | perl-install/mouse.pm | 2 |
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}, |