From c0b5e5761b035df36f4bcf43838ce132d78535eb Mon Sep 17 00:00:00 2001 From: Li Zhang Date: Wed, 17 Jun 2015 17:39:32 +0800 Subject: [PATCH] Fix issue demo application doesn't show Change-Id: I88c50c19d2025402d72dd35bb412d37b6befdd68 Signed-off-by: Li Zhang --- ism/demos/isf_demo_efl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ism/demos/isf_demo_efl.cpp b/ism/demos/isf_demo_efl.cpp index f001fc3..7c6e2ee 100644 --- a/ism/demos/isf_demo_efl.cpp +++ b/ism/demos/isf_demo_efl.cpp @@ -207,12 +207,16 @@ static Evas_Object* create_win (const char *name) { Evas_Object *eo = NULL; const int rots[4] = { 0, 90, 180, 270 }; + int w, h; eo = elm_win_util_standard_add (name, name); if (eo != NULL) { evas_object_smart_callback_add (eo, "delete,request", win_del, NULL); - elm_win_fullscreen_set (eo, EINA_TRUE); + + elm_win_screen_size_get (eo, NULL, NULL, &w, &h); + LOGD ("resize window as %d x %d\n", w, h); + evas_object_resize (eo, w, h); } if (elm_win_wm_rotation_supported_get (eo)) { -- 2.7.4