efl_ui_win: default window type change should not be applied to legacy one

If my understanding is correct, below referenced commit needs to be applied to
efl_ui_win only.

@ref D10049

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10143
This commit is contained in:
WooHyun Jung 2019-09-25 05:18:04 +00:00 committed by Marcel Hollerbach
parent 2c4db3b09a
commit 1c93663156
1 changed files with 1 additions and 1 deletions

View File

@ -5960,7 +5960,7 @@ _efl_ui_win_efl_object_constructor(Eo *obj, Efl_Ui_Win_Data *pd)
if (!efl_parent_get(obj))
efl_allow_parent_unref_set(obj, EINA_TRUE);
if (elm_widget_is_legacy(obj))
if (!elm_widget_is_legacy(obj))
pd->type = EFL_UI_WIN_TYPE_BASIC;
return obj;