diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-22 12:12:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-22 12:12:19 +0000 |
commit | 3936b5abbecf2f1f85c3e1f541473edcbbbcc456 (patch) | |
tree | 26bfe07d5b173bf83424f6bac0f82fca45b21a69 /lib/Xconfig | |
parent | 11221fb2b78e83ae0c6decc784bafe34dd8368bb (diff) | |
download | drakx-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/Xconfig')
-rw-r--r-- | lib/Xconfig/xfree.pm | 2 |
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) = @_; |