← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

 

I can confirm this problem on my Laptop+ext.VGA combination (Intel
onboard graphic).

Due to another problem with the notify-osd (positioned in the non-
visible area of the virtual screen, see
https://bugs.launchpad.net/bugs/367947), I'm currently forced to align
the top of primary with the top of the secondary screen - resulting in a
non-visible area at the bottom of the second screen. Hitting the window-
list on the bottom gnome-panel is quite tricky with the mouse leaving
the screen. Thus, I'd be really happy if the non-visible area is not
accessible for the mouse. By converting affected mouse coordinates
(vertical ones in my case) to the corresponding screen height (width for
horizontal screen setups), this problem should be resolved.

On screen change (from sc0 to sc1):
mouse.curPos= (mouse.prevPos - sc0.visMin) / (sc0.visMax - sc0.visMin) * (sc1.visMax - sc1.visMin) + sc1.visMin
where visMin and visMax is the visible area of the screen.

best
    Patrick

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.