forked from enlightenment/efl
If the init count is >= 1, then we want to iterate (ecore_imf wayland
module adds an extra init). Fix some formatting Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
a233f23c2f
commit
cc596a3588
|
@ -112,7 +112,7 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
|
||||||
ERR("Failed to initialize Ecore_Wayland");
|
ERR("Failed to initialize Ecore_Wayland");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
else if (count == 1)
|
else if (count >= 1)
|
||||||
ecore_wl_display_iterate();
|
ecore_wl_display_iterate();
|
||||||
|
|
||||||
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
||||||
|
|
|
@ -111,7 +111,7 @@ ecore_evas_wayland_shm_new_internal(const char *disp_name, unsigned int parent,
|
||||||
ERR("Failed to initialize Ecore_Wayland");
|
ERR("Failed to initialize Ecore_Wayland");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
else if (count == 1)
|
else if (count >= 1)
|
||||||
ecore_wl_display_iterate();
|
ecore_wl_display_iterate();
|
||||||
|
|
||||||
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
||||||
|
@ -179,7 +179,8 @@ 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 + fw, h + fh, 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;
|
||||||
|
|
||||||
ee->evas = evas_new();
|
ee->evas = evas_new();
|
||||||
|
|
Loading…
Reference in New Issue