Bug 25182 - mouse gets stuck on second screen
Summary: mouse gets stuck on second screen
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-19 05:31 UTC by Aaron Solochek
Modified: 2012-01-18 21:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.