diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | lib/mouse.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- mousedrake: + o fix vmmouse configuration for vmware (#49654) + Version 0.72 - 15 April 2009 - XFdrake: 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), |