Replace code to make fullscreen 42/41442/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 2 Apr 2015 13:52:28 +0000 (22:52 +0900)
committerLi Zhang <li2012.zhang@samsung.com>
Wed, 17 Jun 2015 09:14:16 +0000 (17:14 +0800)
Change-Id: Ic6a3f375f2ea88d02bed123405cd6d9354479d5b

ism/demos/isf_demo_efl.cpp

index 7c6e2ee..f001fc3 100644 (file)
@@ -207,16 +207,12 @@ 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_screen_size_get (eo, NULL, NULL, &w, &h);
-        LOGD ("resize window as %d x %d\n", w, h);
-        evas_object_resize (eo, w, h);
+        elm_win_fullscreen_set (eo, EINA_TRUE);
     }
 
     if (elm_win_wm_rotation_supported_get (eo)) {