From 579ba8d4af6c3de94a597e9820f9ff3da0fa7470 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 22 Sep 2009 14:01:26 +0000 Subject: don't add USB wacom tablets to xorg.conf --- lib/Xconfig/xfree.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm index 371d727..78df8af 100644 --- a/lib/Xconfig/xfree.pm +++ b/lib/Xconfig/xfree.pm @@ -281,12 +281,12 @@ sub set_wacoms { each_index { my $wacom = $_; foreach (@Modes) { + next if ($wacom->{USB}); my $identifier = $_ . ($::i + 1); my $h = { Identifier => { val => $identifier }, Driver => { val => 'wacom' }, Type => { val => lc $_, Option => 1 }, - Device => { val => $wacom->{Device}, Option => 1 }, - if_($wacom->{USB}, USB => { Option => 1 }) + Device => { val => $wacom->{Device}, Option => 1 } }; $raw_X->add_Section('InputDevice', $h); push @$layout, { val => qq("$identifier" "SendCoreEvents") }; -- cgit v1.2.1