efl_ui_win: default window type change should not be applied to legacy one
authorWooHyun Jung <wh0705.jung@samsung.com>
Wed, 25 Sep 2019 05:18:04 +0000 (05:18 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 25 Sep 2019 21:12:42 +0000 (06:12 +0900)
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

src/lib/elementary/efl_ui_win.c

index 88f729d..2f662d8 100644 (file)
@@ -6970,7 +6970,7 @@ _efl_ui_win_efl_object_constructor(Eo *obj, Efl_Ui_Win_Data *pd)
    efl_access_object_access_parent_set(obj, root);
    //
 
-   if (elm_widget_is_legacy(obj))
+   if (!elm_widget_is_legacy(obj))
      pd->type = EFL_UI_WIN_TYPE_BASIC;
 
    return obj;