summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm
index 149514f..ef0909f 100644
--- a/lib/mouse.pm
+++ b/lib/mouse.pm
@@ -402,7 +402,7 @@ sub set_xfree_conf {
my @mice = map {
{
- ($_->{Protocol} eq 'vboxmouse' ? "Driver" : "Protocol") => $_->{Protocol},
+ (member($_->{Protocol}, qw(vboxmouse vmmouse)) ? "Driver" : "Protocol") => $_->{Protocol},
Device => devices::make($_->{device}),
if_($_->{Emulate3Buttons} || $_->{EmulateWheel}, Emulate3Buttons => undef, Emulate3Timeout => 50),
if_($_->{EmulateWheel}, EmulateWheel => undef, EmulateWheelButton => 2),