forked from enlightenment/efl
ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
787beec627
commit
9e83ddbc48
|
@ -1024,7 +1024,7 @@ _ecore_evas_wl_common_name_class_set(Ecore_Evas *ee, const char *n, const char *
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ee->prop.clas)
|
if (ee->prop.clas)
|
||||||
ecore_wl2_window_class_set(wdata->win, ee->prop.clas);
|
ecore_wl2_window_class_name_set(wdata->win, ee->prop.clas);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -149,6 +149,13 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ewd = ecore_wl2_display_connect(disp_name);
|
||||||
|
if (!ewd)
|
||||||
|
{
|
||||||
|
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
||||||
{
|
{
|
||||||
ERR("Failed to allocate Ecore_Evas");
|
ERR("Failed to allocate Ecore_Evas");
|
||||||
|
|
|
@ -148,6 +148,13 @@ ecore_evas_wayland_shm_new_internal(const char *disp_name, unsigned int parent,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ewd = ecore_wl2_display_connect(disp_name);
|
||||||
|
if (!ewd)
|
||||||
|
{
|
||||||
|
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
||||||
{
|
{
|
||||||
ERR("Failed to allocate Ecore_Evas");
|
ERR("Failed to allocate Ecore_Evas");
|
||||||
|
|
Loading…
Reference in New Issue