elm_win: Set initial withdrawn state from win's ecore_evas property.
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 19 May 2015 12:32:10 +0000 (21:32 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Tue, 19 May 2015 12:32:11 +0000 (21:32 +0900)
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

src/lib/elm_win.c

index c243735..2c8ace3 100644 (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