From: Shawn Lee Date: Sun, 23 Jun 2013 11:15:09 +0000 (+0900) Subject: When handle deferred rotation event by blocking rotation, send the request to rotate... X-Git-Tag: submit/tizen_2.2/20130714.144745~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1dde1247d433ae0539198adbdcbdd16aa01521d7;p=platform%2Fcore%2Fuifw%2Fe17.git When handle deferred rotation event by blocking rotation, send the request to rotate about remaining element in rotation list. and set the value of wait_for_done, when handle deferred rotation event. Change-Id: Ifa7aee23d2450037c94c63f9fa85f4933502bb2d --- diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c index eb2727f..ad28784 100644 --- a/src/bin/e_zone.c +++ b/src/bin/e_zone.c @@ -1488,11 +1488,12 @@ e_zone_rotation_block_set(E_Zone *zone, const char *name_hint, Eina_Bool set) { zone->rot.block_count = 0; - e_border_rotation_list_clear(zone, (!zone->rot.pending)); + e_border_rotation_list_clear(zone, EINA_TRUE); if (zone->rot.pending) { zone->rot.prev = zone->rot.curr; zone->rot.curr = zone->rot.next; + zone->rot.wait_for_done = EINA_TRUE; zone->rot.pending = EINA_FALSE; ev = E_NEW(E_Event_Zone_Rotation_Change_Begin, 1); @@ -1537,6 +1538,7 @@ e_zone_rotation_update_done(E_Zone *zone) { zone->rot.prev = zone->rot.curr; zone->rot.curr = zone->rot.next; + zone->rot.wait_for_done = EINA_TRUE; zone->rot.pending = EINA_FALSE; E_Event_Zone_Rotation_Change_Begin *ev2;