diff options
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index ed166a48f..62617feb7 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -424,7 +424,10 @@ sub change_mouse_live { if (!$::testing) { devices::make($mouse->{device}); symlinkf($mouse->{device}, "/dev/mouse"); - c::setMouseLive($ENV{DISPLAY}, $xId, $mouse->{nbuttons} < 3); + eval { + require xf86misc::main; + xf86misc::main::setMouseLive($ENV{DISPLAY}, $xId, $mouse->{nbuttons} < 3); + }; } 1; } |