forked from enlightenment/efl
ecore-evas-wayland: Minor formatting fixes
NB: No functional changes
This commit is contained in:
parent
b5c30bfbbe
commit
dedeb77b02
|
@ -2560,7 +2560,8 @@ _ecore_evas_wl_common_new_internal(const char *disp_name, Ecore_Window parent, i
|
||||||
ee->alpha = EINA_FALSE;
|
ee->alpha = EINA_FALSE;
|
||||||
|
|
||||||
/* Wayland egl engine can't async render */
|
/* Wayland egl engine can't async render */
|
||||||
if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER") || !strcmp(engine_name, "wayland_egl"))
|
if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER") ||
|
||||||
|
!strcmp(engine_name, "wayland_egl"))
|
||||||
ee->can_async_render = 0;
|
ee->can_async_render = 0;
|
||||||
else
|
else
|
||||||
ee->can_async_render = 1;
|
ee->can_async_render = 1;
|
||||||
|
@ -2572,9 +2573,11 @@ _ecore_evas_wl_common_new_internal(const char *disp_name, Ecore_Window parent, i
|
||||||
wdata->display = ewd;
|
wdata->display = ewd;
|
||||||
|
|
||||||
wdata->win = ecore_wl2_window_new(ewd, p, x, y, w, h);
|
wdata->win = ecore_wl2_window_new(ewd, p, x, y, w, h);
|
||||||
ecore_wl2_window_close_callback_set(wdata->win, _ecore_evas_wl_common_win_close, ee);
|
ecore_wl2_window_close_callback_set(wdata->win,
|
||||||
|
_ecore_evas_wl_common_win_close, ee);
|
||||||
ee->prop.window = (Ecore_Window)wdata->win;
|
ee->prop.window = (Ecore_Window)wdata->win;
|
||||||
ee->prop.aux_hint.supported_list = ecore_wl2_window_aux_hints_supported_get(wdata->win);
|
ee->prop.aux_hint.supported_list =
|
||||||
|
ecore_wl2_window_aux_hints_supported_get(wdata->win);
|
||||||
ecore_evas_aux_hint_add(ee, "wm.policy.win.msg.use", "1");
|
ecore_evas_aux_hint_add(ee, "wm.policy.win.msg.use", "1");
|
||||||
|
|
||||||
if (!ecore_evas_evas_new(ee, ee->w, ee->h))
|
if (!ecore_evas_evas_new(ee, ee->w, ee->h))
|
||||||
|
|
Loading…
Reference in New Issue