summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-10-22 16:36:43 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-10-22 16:36:43 +0000
commit51f8d5294449533f4239c82fbe69c1477d7881e7 (patch)
tree4da19dc7c168b95d302280a381d1f802f5e298b7
parent311b1b008d0e4308266599b76c977246071d3242 (diff)
downloaddrakx-kbd-mouse-x11-51f8d5294449533f4239c82fbe69c1477d7881e7.tar
drakx-kbd-mouse-x11-51f8d5294449533f4239c82fbe69c1477d7881e7.tar.gz
drakx-kbd-mouse-x11-51f8d5294449533f4239c82fbe69c1477d7881e7.tar.bz2
drakx-kbd-mouse-x11-51f8d5294449533f4239c82fbe69c1477d7881e7.tar.xz
drakx-kbd-mouse-x11-51f8d5294449533f4239c82fbe69c1477d7881e7.zip
don't inconditionnally load Xconfig::card
-rw-r--r--lib/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm
index 6f40017..7bf6754 100644
--- a/lib/mouse.pm
+++ b/lib/mouse.pm
@@ -14,7 +14,6 @@ use devices;
use modules;
use any;
use log;
-use Xconfig::card;
sub _all_mice() {
arch() =~ /^sparc/ ?
@@ -387,6 +386,7 @@ sub various_xfree_conf {
}
}
+ require Xconfig::card;
my $inputdrvpath = Xconfig::card::modules_dir() . '/input';
my $pkgs = [
if_($mouse->{synaptics}, ['x11-driver-input-synaptics', "$inputdrvpath/synaptics_drv.so"]),