summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-22 12:14:21 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-22 12:14:21 +0000
commit406738e63fd3b71bc16c9b42afb5467951f728b6 (patch)
treec25c2270bab98ed6985f3d31273df38f82871f16
parent3936b5abbecf2f1f85c3e1f541473edcbbbcc456 (diff)
downloaddrakx-kbd-mouse-x11-406738e63fd3b71bc16c9b42afb5467951f728b6.tar
drakx-kbd-mouse-x11-406738e63fd3b71bc16c9b42afb5467951f728b6.tar.gz
drakx-kbd-mouse-x11-406738e63fd3b71bc16c9b42afb5467951f728b6.tar.bz2
drakx-kbd-mouse-x11-406738e63fd3b71bc16c9b42afb5467951f728b6.tar.xz
drakx-kbd-mouse-x11-406738e63fd3b71bc16c9b42afb5467951f728b6.zip
(set_xfree_conf) fix vmmouse configuration for vmware (#49654)
-rw-r--r--NEWS3
-rw-r--r--lib/mouse.pm2
2 files changed, 4 insertions, 1 deletions
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),