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
bool _app_create(void* user_data)
{
bool _app_create(void* user_data)
{
- int width = 1000, height = 1000;
// App_Data* app_data = NULL;
Evas_Object* layout = NULL;
Evas_Object* conform = NULL;
// App_Data* app_data = NULL;
Evas_Object* layout = NULL;
Evas_Object* conform = NULL;
elm_win_title_set(window, PACKAGE);
elm_win_borderless_set(window, EINA_TRUE);
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.");
elm_win_indicator_mode_set(window, ELM_WIN_INDICATOR_SHOW);
} else {
LOGE("elm_win_add() is failed.");