From: Shinwoo Kim Date: Thu, 25 Oct 2018 02:15:21 +0000 (+0900) Subject: Remove unnecessary line setting window size X-Git-Tag: accepted/tizen/unified/20181105.143917~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Finputdelegator.git;a=commitdiff_plain;h=a56da0df2c993763cfa984b86891b7052adbb90a Remove unnecessary line setting window size Maximized window does not need to set its size on application side. Because of the unnecessary line setting window size, application could get a black screen for around 2 seconds by window mananger policy. Please refer to following steps. (1) Wearable image > contacts > select one item > message button (2) After step (1), edit message, then added message is not visible because its window size becomes 1000 * 1000 on 360 * 360 wearable screen. Change-Id: I48769b89df3d8598f350564d7124fff16e862821 --- diff --git a/src/w-input-selector.cpp b/src/w-input-selector.cpp index f9c1243..1658c9d 100755 --- a/src/w-input-selector.cpp +++ b/src/w-input-selector.cpp @@ -1260,7 +1260,6 @@ bool __compare_string(const char * smart_str, const char * template_str) bool _app_create(void* user_data) { - int width = 1000, height = 1000; // App_Data* app_data = NULL; Evas_Object* layout = NULL; Evas_Object* conform = NULL; @@ -1284,8 +1283,6 @@ bool _app_create(void* user_data) elm_win_title_set(window, PACKAGE); elm_win_borderless_set(window, EINA_TRUE); -// ecore_x_window_size_get(ecore_x_window_root_first_get(), &width, &height); - evas_object_resize(window, width, height); elm_win_indicator_mode_set(window, ELM_WIN_INDICATOR_SHOW); } else { LOGE("elm_win_add() is failed.");