efl_ui_win: Move force resize code on first draw 20/191120/1
authorJunsuChoi <jsuya.choi@samsung.com>
Thu, 11 Oct 2018 11:30:25 +0000 (20:30 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 11 Oct 2018 11:30:25 +0000 (20:30 +0900)
commit3437f66777e6820591a4a470351e48839816a680
tree8160f5b90a7c6881d5fc26047b3fe866db2e859e
parent552f29fae681e9a42e754c3fea6e3db24cb20495
efl_ui_win: Move force resize code on first draw

Summary:
In D6165, there was a modification that forced resize_job
to be called using sd-> deferred_resize_job.
Even if we set true in sd-> deferred_resize_job,
it will be changed to false by calling other function to be called.
(sd->deferred_resize_job = EINA_TRUE; ->
  _elm_win_resize_objects_eval ->
  _elm_win_resize_job ->
   sd->deferred_resize_job = EINA_FALSE;)
Eventually _elm_win_frame_obj_update is not called.
There is a case where _elm_win_frame_obj_update can not called in tizen.
For this reason, make sure to call resize_job when first drawing based on D6165.

Test Plan: N/A

Reviewers: eagleeye, zmike, woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7156

Change-Id: Ib91d8c73d5dd0a106b77ce1fb5494b60a9fdb8e4
src/lib/elementary/efl_ui_win.c