mouse in zaphod mode on radeon

Tiago Vignatti tiago.vignatti at
Tue Apr 6 08:18:42 PDT 2010

On Sun, Apr 04, 2010 at 01:44:29PM +0200, ext Attila Kinali wrote:
> Moin,
> After the recent updates of the radeon driver i thouht i'd
> try zaphod mode again. I must say i'm very happy that it
> works nearly perfect now. There is only one little issue
> left. If i use the following configuration of the server layout:
> ---
> Section "ServerLayout"
>         Identifier      "Default Layout"
>         Screen          "Screen 1"
>         Screen          "Screen 2" RightOf "Screen 1"
>         InputDevice     "Generic Keyboard"
>         InputDevice     "Configured Mouse"
> EndSection
> ---
> Then the second screen is mapped on the right side of the
> first screen (how it should). The mouse is initially on
> the first screen. I can move my mouse to the right, from
> the first screen to the second screen (all fine until now).
> But if i try to move the mouse back from the second screen
> to the first one, it gets blocked at the edges of the second
> screen. i.e. i cannot move it back to the first screen.
> Interestingly, if i use anything else then "RightOf" in
> the config above (ie "LeftOf", "Above" or "Below") i cannot
> move the mouse from the first screen to the second at all.
> I thought that it must be some simple check of the cursor
> position that is not correctly done and tried to fix it myself,
> but got lost in the code and couldnt figure out where the bug
> comes from. :-(
> I'd appreciate if someone could help me out here.
> Distro is debian/testing,
> Xorg version is 7.5
> xorg-core: 1.7.5
> xorg-ati: 6.12.6
> xorg.conf and Xorg.0.log are attached.

You might be using a version of the server without this patch bellow:

commit f9a2fff2248d7254958857677cabfea914ed4853
Author: Tiago Vignatti <tiago.vignatti at>
Date:   Wed Aug 5 21:02:29 2009 +0300

    mi: fix cursor warping screens
    The server was processing ET_RawMotion type when the cursor was wrapping to
    another screen and getting wrong valuator values. This fix such issue
    considering only ET_Motion, ET_KeyPress, ET_KeyRelease, ET_ButtonPress and
    ET_ButtonRelease types when the cursor detects a new screen, keeping the
    "normal" processing of device events.
    Signed-off-by: Tiago Vignatti <tiago.vignatti at>
    Signed-off-by: Peter Hutterer <peter.hutterer at>


More information about the xorg mailing list