compare with wrong angle has been fiexd when pre-resize for rotation. 20/9720/1
authorShawn Lee <shiin.lee@samsung.com>
Fri, 21 Jun 2013 11:04:44 +0000 (20:04 +0900)
committerShawn Lee <shiin.lee@samsung.com>
Fri, 21 Jun 2013 12:52:27 +0000 (21:52 +0900)
Change-Id: I5548138af260c8de13fd5debf39b11f3b1e4288a

src/bin/e_border.c

index ebcf4b1..e32ad09 100644 (file)
@@ -8636,7 +8636,7 @@ _e_border_rotation_pre_resize(E_Border *bd, int rotation, int *x, int *y, int *w
         _x = bd->x; _y = bd->y;
         _w = bd->w; _h = bd->h;
 
-        rot_dif = bd->client.e.state.rot.curr - rotation;
+        rot_dif = bd->client.e.state.rot.prev - rotation;
         if (rot_dif < 0) rot_dif = -rot_dif;
         if (rot_dif != 180)
           {