From ab59818301a13c0a5a05de71a4a406edd3d34870 Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Wed, 30 May 2018 15:29:38 +0900 Subject: [PATCH] efl_ui_win: keep default geometry compatibility 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index ad0f985..70af718 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -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) -- 2.7.4