diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-22 14:01:26 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-22 14:01:26 +0000 |
commit | 579ba8d4af6c3de94a597e9820f9ff3da0fa7470 (patch) | |
tree | 968654fcea007b889a90baae08ebdf6b00c46872 /lib/Xconfig | |
parent | 09622e2cdb437f0ac8f8a931f372058f3ecd73f9 (diff) | |
download | drakx-kbd-mouse-x11-579ba8d4af6c3de94a597e9820f9ff3da0fa7470.tar drakx-kbd-mouse-x11-579ba8d4af6c3de94a597e9820f9ff3da0fa7470.tar.gz drakx-kbd-mouse-x11-579ba8d4af6c3de94a597e9820f9ff3da0fa7470.tar.bz2 drakx-kbd-mouse-x11-579ba8d4af6c3de94a597e9820f9ff3da0fa7470.tar.xz drakx-kbd-mouse-x11-579ba8d4af6c3de94a597e9820f9ff3da0fa7470.zip |
don't add USB wacom tablets to xorg.conf
Diffstat (limited to 'lib/Xconfig')
-rw-r--r-- | lib/Xconfig/xfree.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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") }; |