From 406738e63fd3b71bc16c9b42afb5467951f728b6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 22 Apr 2009 12:14:21 +0000 Subject: (set_xfree_conf) fix vmmouse configuration for vmware (#49654) --- NEWS | 3 +++ lib/mouse.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index e1d529d..773fcd2 100644 --- a/NEWS +++ b/NEWS @@ -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), -- cgit v1.2.1