summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-25 12:20:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-25 12:20:51 +0000
commitf5994c6cedc5b6eda73d874e3286924ee806a57a (patch)
tree2fed205b028d9519708f7e87261984f015588b86 /move/move.pm
parentfb4327824c46e392f04d64b9da9de5bf0fc3d6b6 (diff)
downloaddrakx-backup-do-not-use-f5994c6cedc5b6eda73d874e3286924ee806a57a.tar
drakx-backup-do-not-use-f5994c6cedc5b6eda73d874e3286924ee806a57a.tar.gz
drakx-backup-do-not-use-f5994c6cedc5b6eda73d874e3286924ee806a57a.tar.bz2
drakx-backup-do-not-use-f5994c6cedc5b6eda73d874e3286924ee806a57a.tar.xz
drakx-backup-do-not-use-f5994c6cedc5b6eda73d874e3286924ee806a57a.zip
use /dev/mouse in the X config file to allow changing mouse device live
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm
index f60fed41e..c3e32735a 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -519,6 +519,9 @@ sub automatic_xconf {
log::l('automatic XFree configuration');
+ any::devfssymlinkf($o->{mouse}, 'mouse');
+ local $o->{mouse}{device} = 'mouse';
+
require Xconfig::default;
$o->{raw_X} = Xconfig::default::configure({ KEYBOARD => 'uk' }, $o->{mouse}); #- using uk instead of us for now to have less warnings