elm_win: Set initial withdrawn state from win's ecore_evas property.

Summary:
For instance, ecore_evas sets initial withdrawn state EINA_FALSE if elm_engine is "buffer".
Therefore, the initial withdrawn state is derived from ecore_evas property.
@fix

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2435
This commit is contained in:
Jaehyun Cho 2015-05-19 21:32:10 +09:00 committed by ChunEon Park
parent 0b7de4a33e
commit 1a08a10f11
1 changed files with 1 additions and 1 deletions

View File

@ -3589,7 +3589,7 @@ _elm_win_finalize_internal(Eo *obj, Elm_Win_Data *sd, const char *name, Elm_Win_
sd->type = type;
sd->parent = parent;
sd->modal_count = 0;
sd->withdrawn = EINA_TRUE;
sd->withdrawn = ecore_evas_withdrawn_get(sd->ee);
if (sd->parent)
evas_object_event_callback_add