Re: [PATCH] shell: correct position of a surface before rotating it.

2012-03-22 Thread Kristian Hoegsberg
On Wed, Mar 21, 2012 at 10:40:20PM +0100, Rafal Mielniczuk wrote: > How to reproduce: rotate the surface to something like 45 degrees, > resize it drastically, continue to rotate. The surface will jump > some space and the rotation point will not be in the center > of the surface. > > Fix is to sh

[PATCH] shell: correct position of a surface before rotating it.

2012-03-21 Thread Rafal Mielniczuk
How to reproduce: rotate the surface to something like 45 degrees, resize it drastically, continue to rotate. The surface will jump some space and the rotation point will not be in the center of the surface. Fix is to shift the surface position to match the rotation point --- src/shell.c | 16 +

Re: [PATCH] shell: correct position of a surface before rotating it.

2012-03-20 Thread Kristian Hoegsberg
On Tue, Mar 20, 2012 at 12:14:33AM +0100, Rafał Mielniczuk wrote: > From: Rafal Mielniczuk > > How to reproduce: rotate the surface to something like 45 degrees, > resize it drastically, continue to rotate. The surface will jump > some space and the rotation point will not be in the center > of t

[PATCH] shell: correct position of a surface before rotating it.

2012-03-19 Thread Rafał Mielniczuk
From: Rafal Mielniczuk How to reproduce: rotate the surface to something like 45 degrees, resize it drastically, continue to rotate. The surface will jump some space and the rotation point will not be in the center of the surface. Fix is to shift the surface position to match the rotation point