efl_ui_win: keep default geometry compatibility 70/181470/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 30 May 2018 06:29:38 +0000 (15:29 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Thu, 14 Jun 2018 06:16:53 +0000 (15:16 +0900)
The efl_ui_win default geometry had been 0,0,1,1 till Tizen 4.0.
The efl_ui_win needs to keep backward compatibility of default geometry.
Because the MM API, player_set_display returns if the window size is 0x0.
So mycontents-video-player-tv could not play video file.

@tizen_only

Change-Id: I531b9950f2d52fab18464812701d3a5b2b3e5c35

src/lib/elementary/efl_ui_win.c

index ad0f985..70af718 100644 (file)
@@ -6377,6 +6377,10 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Efl_U
    sd->evas = ecore_evas_get(sd->ee);
 
    evas_object_color_set(obj, 0, 0, 0, 0);
+   //TIZEN_ONLY(20180530): keep default geometry compatibility
+   evas_object_move(obj, 0, 0);
+   evas_object_resize(obj, 1, 1);
+   //
    evas_object_pass_events_set(obj, EINA_TRUE);
 
    if (type == ELM_WIN_INLINED_IMAGE)