summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-22 12:12:19 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-22 12:12:19 +0000
commit3936b5abbecf2f1f85c3e1f541473edcbbbcc456 (patch)
tree26bfe07d5b173bf83424f6bac0f82fca45b21a69 /lib
parent11221fb2b78e83ae0c6decc784bafe34dd8368bb (diff)
downloaddrakx-kbd-mouse-x11-3936b5abbecf2f1f85c3e1f541473edcbbbcc456.tar
drakx-kbd-mouse-x11-3936b5abbecf2f1f85c3e1f541473edcbbbcc456.tar.gz
drakx-kbd-mouse-x11-3936b5abbecf2f1f85c3e1f541473edcbbbcc456.tar.bz2
drakx-kbd-mouse-x11-3936b5abbecf2f1f85c3e1f541473edcbbbcc456.tar.xz
drakx-kbd-mouse-x11-3936b5abbecf2f1f85c3e1f541473edcbbbcc456.zip
(_is_mouse) detect 'vmmouse' driven input devices as mice
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/xfree.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm
index f79a788..d962cfa 100644
--- a/lib/Xconfig/xfree.pm
+++ b/lib/Xconfig/xfree.pm
@@ -147,7 +147,7 @@ sub set_mice {
sub _is_mouse {
my ($entry) = @_;
my $Driver = val($entry->{Driver});
- member($Driver, 'mouse', 'vboxmouse') || $Driver eq 'evdev' && !val($entry->{XkbLayout});
+ member($Driver, qw(mouse vboxmouse vmmouse)) || $Driver eq 'evdev' && !val($entry->{XkbLayout});
}
sub _new_mouse_sections {
my ($raw_X, @Drivers) = @_;