[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#531300: Accelerated mouse pointer doesn't reach left hand border



Package: xserver-xephyr


I'm using the script given below to start Xephyr from gdm, with the intention of creating a `multi-seat' environment.

I notice that when I move the mouse slowly, I can move it all the way to the left border.

When I move the mouse to the left quickly, it gets stuck about 10-20 pixels from the border. I can then move it to the border by moving it to the right again and then moving it left slowly.

It doesn't appear to happen at the top, bottom or right hand borders.

This is my Xephyr command line:

# ps ax | grep Xephyr
1983 ? S 14:55 /usr/bin/Xephyr :1 -audit 0 -screen 1920x1200 -dpi 96 +kb r -auth /var/lib/gdm/:1.Xauth

The gdm settings:

[server-screen0]
name=screen0
command=/usr/local/bin/launch-xephyr -display :0.0 -xauthority /var/lib/gdm/:0.Xauth -audit 0 -screen 1920x1200 -dpi 96 +kb r
handled=true
flexible=false




$ cat /usr/local/bin/launch-xephyr
#!/bin/bash

trap "" usr1

XEPHYR=/usr/bin/Xephyr

args=()

while [ ! -z "$1" ]; do
if [[ "$1" == "-xauthority" ]]; then
  shift
  if [ ! -z "$1" ]; then
    export XAUTHORITY="$1"
  fi
elif [[ "$1" == "-display" ]]; then
  shift
  if [ ! -z "$1" ]; then
    export DISPLAY="$1"
  fi
else
  if ! expr match $1 'vt[0-9][0-9]*' >/dev/null; then
    args=("${args[@]}" "$1")
  fi
fi

shift
done

/usr/bin/xset s noblank
/usr/bin/xset s off
/usr/bin/xset -dpms

exec $XEPHYR "${args[@]}"




Reply to: