Ok, here's some patches to make this work right.

Basically, it works so that if the mouse cursor hits the edge of the
screen, any mouse movements which are parallel to the screen edge (eg up
and down on a left edge) will be treated as mouse movements in the
direction of the edge, so you resize a window so that the cursor hits
the edge of the screen, and then move it up and down to "complete" the
resize. This sort of works in a fitts-law kind of way where we know that
the cursor motion isn't really going to be "precisely" left or right,
but rather the user will physically move the mouse in such a way where
there is going to be noise in the opposite direction anyways, so might
as well use that noise to see how much they are "trying". Once the
window hits the edge of the screen it stops counting these up and down
movements as cursor motion, since that would end up breaking snap-back.

Attaching the first patch - second patch in the next comment (launchpad
needs a way to attach multiple things to a comment) and here is a video
of how it works should we be too lazy to rebuild :)

http://smspillaz.ucc.asn.au/unity/enh_borders.ogv


** Patch added: 
"0001-Take-up-down-pointer-motions-as-left-and-right-if-th.patch"
   
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/710356/+attachment/1827072/+files/0001-Take-up-down-pointer-motions-as-left-and-right-if-th.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/710356

Title:
  Resizing with external padding/grab area prevents reaching edge of
  screen

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to