summaryrefslogtreecommitdiffstats
path: root/lib/mouse.pm
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 /lib/mouse.pm
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)
Diffstat (limited to 'lib/mouse.pm')
-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),