Bug 25182

Summary: mouse gets stuck on second screen
Product: xorg Reporter: Aaron Solochek <aarons-freedesktop>
Component: Server/Input/CoreAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Aaron Solochek 2009-11-19 05:31:20 UTC
With a dual-head setup with separate screens (with or without xinerama) the pointer when controlled with the ALPS trackpad on my laptop can move to the second screen, but not back to the first screen.  The cursor can be moved back to the first screen with a USB mouse. 

This downstream bug has more information:

https://bugs.launchpad.net/bugs/444154

that bug was originally filed against the nvidia driver, but I have ATI, so problem is either in the server or input driver, I assume.
Comment 1 Peter Hutterer 2011-08-24 23:02:19 UTC
Server bug, affects all absolute devices.

Problem is simply that when we scale an axis range into [0..screen width], the latter is actually one past the highest possible coordinate and triggers the screen crossing. 0 is still part of the screen and does not trigger the screen cross. Hence you can only change screens to the right/bottom.
Comment 3 Peter Hutterer 2012-01-18 21:41:14 UTC
Fixed with the commits leading up to

commit 401150d7dcad08be7c1f07e076f810cd61e2105c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Oct 4 11:41:17 2011 +1000

    input: change pointer screen crossing behaviour for multiple ScreenRecs


This is a large change, so I don't expect it to be back-ported to 1.11.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.