]> code.ossystems Code Review - openembedded-core.git/commitdiff
x11-common: correct the syntax for the -mouse arg to Xfbdev
authorRichard Griffiths <rgriffit@windriver.com>
Tue, 21 Sep 2010 20:38:09 +0000 (13:38 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 4 Oct 2010 08:40:58 +0000 (09:40 +0100)
Fixes [BUGID #99]

The mouse option as passed to Xfbdev was correct for most
targets, except mips (and a PS/2 mouse). Modifying the
syntax of the option fixes the mips case, and has no impact
on other users.

Signed-off-by: Richard Griffiths <rgriffit@windriver.com>
meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver

index 3d4aa74b9532f80de9bb985b60d31041d4cbdb60..57923e6b9597ec31ee3fd06834faa937a41ba7b9 100644 (file)
@@ -36,7 +36,7 @@ if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
 
         # use usb mouse if present
         if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then
-          ARGS="$ARGS -mouse /dev/input/mice"
+          ARGS="$ARGS -mouse mouse,/dev/input/mice"
         fi
 
         # kdrive 1.4 onwards needs -mouse args