shell: fix resize for transformed surfaces
authorPekka Paalanen <ppaalanen@gmail.com>
Mon, 30 Jan 2012 14:19:47 +0000 (16:19 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Tue, 31 Jan 2012 11:12:11 +0000 (13:12 +0200)
commit5c97ae7b82e3bbf9c853efca4683630a0c6f8a58
tree33135835e224f31542c6b79f7c8304896e718688
parent7b3bd3d8b6a42c59ec19b1453544b625de8deedf
shell: fix resize for transformed surfaces

This fixes the resize pointer motion vs. surface size mismatch for
right/bottom direction resizes. Top/left resizes need further fixes in
surface motion.

Additionally there is some clean-up in weston_surface_resize() to
eliminate a failure path, and fixing the Weston resize binding's resize
direction heuristic to follow transformations.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/shell.c