forked from enlightenment/efl
ecore_evas/wayland: Add missing frame width and height.
It must be used when calling the window new function too.
This commit is contained in:
parent
6fc19b8dc2
commit
d5fe89b32d
|
@ -184,7 +184,7 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
|
||||||
|
|
||||||
wdata->parent = p;
|
wdata->parent = p;
|
||||||
wdata->win =
|
wdata->win =
|
||||||
ecore_wl_window_new(p, x, y, w, h, ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW);
|
ecore_wl_window_new(p, x, y, w + fw, h + fh, ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW);
|
||||||
ee->prop.window = wdata->win->id;
|
ee->prop.window = wdata->win->id;
|
||||||
|
|
||||||
if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
|
if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
|
||||||
|
|
|
@ -190,7 +190,7 @@ ecore_evas_wayland_shm_new_internal(const char *disp_name, unsigned int parent,
|
||||||
|
|
||||||
wdata->parent = p;
|
wdata->parent = p;
|
||||||
wdata->win =
|
wdata->win =
|
||||||
ecore_wl_window_new(p, x, y, w, h, ECORE_WL_WINDOW_BUFFER_TYPE_SHM);
|
ecore_wl_window_new(p, x, y, w + fw, h + fh, ECORE_WL_WINDOW_BUFFER_TYPE_SHM);
|
||||||
ee->prop.window = wdata->win->id;
|
ee->prop.window = wdata->win->id;
|
||||||
|
|
||||||
if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
|
if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
|
||||||
|
|
Loading…
Reference in New Issue