discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f335191e75a7e6daa929d1fa31952636578de0ff

commit f335191e75a7e6daa929d1fa31952636578de0ff
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Nov 3 12:15:30 2017 -0400

    create wl output resource when running in wl nested
---
 src/modules/wl_wl/e_mod_main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/modules/wl_wl/e_mod_main.c b/src/modules/wl_wl/e_mod_main.c
index 850032631..9bad95953 100644
--- a/src/modules/wl_wl/e_mod_main.c
+++ b/src/modules/wl_wl/e_mod_main.c
@@ -16,6 +16,9 @@ _cb_sync_done(void *data EINA_UNUSED, int type EINA_UNUSED, 
void *event)
    if ((w < 1) || (h < 1)) return ECORE_CALLBACK_PASS_ON;
 
    e_comp_canvas_resize(w * 2 / 3, h * 2 / 3);
+   e_comp_wl_output_init(NULL, NULL, NULL,
+               0, 0, w * 2 / 3, h * 2 / 3,
+               0, 0, 0, 0, 0, 0);
 
    if (!ecore_wl2_display_dmabuf_get(e_comp_wl->wl.client_disp))
      e_comp_wl->dmabuf_disable = EINA_TRUE;

-- 


Reply via email to