summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 02884e5..ad92247 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -2560,7 +2560,8 @@ _ecore_evas_wl_common_new_internal(const char *disp_name, Ecore_Window parent, i
2560 ee->alpha = EINA_FALSE; 2560 ee->alpha = EINA_FALSE;
2561 2561
2562 /* Wayland egl engine can't async render */ 2562 /* Wayland egl engine can't async render */
2563 if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER") || !strcmp(engine_name, "wayland_egl")) 2563 if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER") ||
2564 !strcmp(engine_name, "wayland_egl"))
2564 ee->can_async_render = 0; 2565 ee->can_async_render = 0;
2565 else 2566 else
2566 ee->can_async_render = 1; 2567 ee->can_async_render = 1;
@@ -2572,9 +2573,11 @@ _ecore_evas_wl_common_new_internal(const char *disp_name, Ecore_Window parent, i
2572 wdata->display = ewd; 2573 wdata->display = ewd;
2573 2574
2574 wdata->win = ecore_wl2_window_new(ewd, p, x, y, w, h); 2575 wdata->win = ecore_wl2_window_new(ewd, p, x, y, w, h);
2575 ecore_wl2_window_close_callback_set(wdata->win, _ecore_evas_wl_common_win_close, ee); 2576 ecore_wl2_window_close_callback_set(wdata->win,
2577 _ecore_evas_wl_common_win_close, ee);
2576 ee->prop.window = (Ecore_Window)wdata->win; 2578 ee->prop.window = (Ecore_Window)wdata->win;
2577 ee->prop.aux_hint.supported_list = ecore_wl2_window_aux_hints_supported_get(wdata->win); 2579 ee->prop.aux_hint.supported_list =
2580 ecore_wl2_window_aux_hints_supported_get(wdata->win);
2578 ecore_evas_aux_hint_add(ee, "wm.policy.win.msg.use", "1"); 2581 ecore_evas_aux_hint_add(ee, "wm.policy.win.msg.use", "1");
2579 2582
2580 if (!ecore_evas_evas_new(ee, ee->w, ee->h)) 2583 if (!ecore_evas_evas_new(ee, ee->w, ee->h))