diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Xconfig/xfree.pm | 3 | ||||
-rw-r--r-- | lib/mouse.pm | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm index dfa4d5a..d7abba8 100644 --- a/lib/Xconfig/xfree.pm +++ b/lib/Xconfig/xfree.pm @@ -313,7 +313,6 @@ sub set_synaptics { each_index { my $synaptics_mouse = $_; my $identifier = "SynapticsMouse" . ($::i + 1); - my $pointer_type = $synaptics_mouse->{Primary} ? "CorePointer" : "AlwaysCore"; my $h = { Identifier => { val => $identifier }, Driver => { val => "synaptics" }, @@ -347,7 +346,7 @@ sub set_synaptics { $h->{$k} = { val => $v, Option => 1 }; } $raw_X->add_Section('InputDevice', $h); - push @$layout, { val => qq("$identifier" "$pointer_type") }; + push @$layout, { val => qq("$identifier" "AlwaysCore") }; } @synaptics; } diff --git a/lib/mouse.pm b/lib/mouse.pm index 8df14c1..39e5564 100644 --- a/lib/mouse.pm +++ b/lib/mouse.pm @@ -420,10 +420,7 @@ sub set_xfree_conf { $xfree_conf->set_wacoms(map { { Device => "/dev/$_", USB => to_bool(m|input/by-path/event|) } } @wacoms); } - $xfree_conf->set_synaptics({ - Primary => 0, - ALPS => $mouse->{synaptics}{ALPS}, - }) if $mouse->{synaptics}; + $xfree_conf->set_synaptics({ ALPS => $mouse->{synaptics}{ALPS} }) if $mouse->{synaptics}; } sub various_xfree_conf { |