From f5994c6cedc5b6eda73d874e3286924ee806a57a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 25 Nov 2003 12:20:51 +0000 Subject: use /dev/mouse in the X config file to allow changing mouse device live --- move/move.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'move') 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 -- cgit v1.2.1