ecore_wl_sync();
+ Ecore_Wl2_Display* wl2_display = ecore_wl2_connected_display_get(NULL);
+
if (EINA_TRUE == g_set_geometry) {
util_mgr->x = g_geo_x;
util_mgr->y = g_geo_y;
} else {
util_mgr->x = 0;
util_mgr->y = 0;
- ecore_wl_screen_size_get(&util_mgr->w, &util_mgr->h);
+ ecore_wl2_display_screen_size_get(wl2_display, &util_mgr->w, &util_mgr->h);
}
_object_tree(util_mgr, 1, exclude_unfocusable_text);
ecore_wl_sync();
util_mgr->x = 0;
util_mgr->y = 0;
- ecore_wl_screen_size_get(&util_mgr->w, &util_mgr->h);
+
+ Ecore_Wl2_Display* wl2_display = ecore_wl2_connected_display_get(NULL);
+ ecore_wl2_display_screen_size_get(wl2_display, &util_mgr->w, &util_mgr->h);
_object_tree(util_mgr, 2, exclude_unfocusable_text);
}