From: Shawn Lee Date: Tue, 25 Jun 2013 06:33:34 +0000 (+0900) Subject: The problem that e17 couldn't move/resize window when the window fetch the rotation... X-Git-Tag: submit/tizen_2.2/20130714.144745~14 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fe17.git;a=commitdiff_plain;h=b87390b355e8d42e889c52584f766b9a09bd96b6 The problem that e17 couldn't move/resize window when the window fetch the rotation geometry hints has been fixed. Change-Id: If3c8d71fdce97133854c38bb5b94f2ae9add45d4 --- diff --git a/src/bin/e_border.c b/src/bin/e_border.c index d23bcc5..78eb7cd 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -10074,19 +10074,18 @@ _e_border_eval0(E_Border *bd) { if (need_rotation_set) { - ELB(ELBT_ROT, "NEED ROT", bd->client.win); - bd->client.e.state.rot.changes = _e_border_rotation_angle_get(bd); - if (bd->client.e.state.rot.changes != -1) bd->changed = 1; - } - - if (bd->new_client) - { Eina_Bool hint = EINA_FALSE; int ang = 0; int x, y, w, h, move; + ELB(ELBT_ROT, "NEED ROT", bd->client.win); + bd->client.e.state.rot.changes = _e_border_rotation_angle_get(bd); + if (bd->client.e.state.rot.changes != -1) - ang = bd->client.e.state.rot.changes; + { + ang = bd->client.e.state.rot.changes; + bd->changed = 1; + } else ang = bd->client.e.state.rot.curr; hint = _e_border_rotation_geom_get(bd, bd->zone, ang, &x, &y, &w, &h, &move); @@ -10097,7 +10096,6 @@ _e_border_eval0(E_Border *bd) bd->client.icccm.name, x, y, w, h); } } - } #endif