Replacing X specific commands with Evas / Wayland calls. 14/2714/1 accepted/2.0alpha-wayland/20130205.173205 submit/2.0alpha-wayland/20130131.232951
authorbrianjjones <brian.j.jones@intel.com>
Thu, 31 Jan 2013 20:13:25 +0000 (12:13 -0800)
committerbrianjjones <brian.j.jones@intel.com>
Thu, 31 Jan 2013 23:29:18 +0000 (15:29 -0800)
client/ug-client.c

index 5ed81e9..1cb8d41 100755 (executable)
@@ -165,8 +165,7 @@ static Evas_Object *create_win(const char *name)
                elm_win_borderless_set(eo, EINA_TRUE);
                evas_object_smart_callback_add(eo, "delete,request",
                                               win_del, NULL);
-               ecore_x_window_size_get(ecore_x_window_root_first_get(),
-                                       &w, &h);
+               ecore_evas_geometry_get(ecore_evas_object_ecore_evas_get(eo), 0, 0, &w, &h);
                evas_object_resize(eo, w, h);
        }