commit | 1818e31001e025ee06cf9c6097940037e9783321 | [log] [tgz] |
---|---|---|
author | Alexander Larsson <alexl@redhat.com> | Wed May 22 14:41:31 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed May 22 16:17:59 2013 -0400 |
tree | c70ef130a558ce2abdd80f4299f8b98ce7158466 | |
parent | 01441299b1762eaceda074af5120c513a1d80c90 [diff] |
window: Store server_allocation in surface size We used to just store the buffer size here which is not right if the surface has a buffer_transform or a buffer_scale. To fix this we pass the transform and scale into the toysurface prepare and swap calls and move both the surface to buffer and the buffer to surface size conversion there. Without this interactive resize on the top or left sides of a transformed or scaled surface will not work correctly.