derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=54582858d8422c4594899eba7209b12c9b704c27

commit 54582858d8422c4594899eba7209b12c9b704c27
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Oct 14 16:02:45 2016 -0500

    ecore_evas_wayland: Don't use frame callbacks on windows with no shell 
surface
    
    If we set a frame callback on a window with no shell surface (ie: and 
unmapped
    window), the frame callback will never fire.  This was preventing some
    applications like rage from ever posting a frame.
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 1 +
 1 file changed, 1 insertion(+)

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 c469acd..b41e907 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
@@ -1373,6 +1373,7 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas 
*evas EINA_UNUSED, void
    wdata = ee->engine.data;
    surf = ecore_wl2_window_surface_get(wdata->win);
    if (!surf) return;
+   if (!ecore_wl2_window_has_shell_surface(wdata->win)) return;
 
    wdata->anim_callback = wl_surface_frame(surf);
    wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee);

-- 


Reply via email to