From: Chris Michael Date: Thu, 8 Oct 2015 17:37:30 +0000 (-0400) Subject: ecore-evas-wayland-shm: Check for fullscreen and override windows when X-Git-Tag: v1.16.0-beta1~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=295bfd7df6498462389fe1c20ac6e0cfcec1944c;p=platform%2Fupstream%2Fefl.git ecore-evas-wayland-shm: Check for fullscreen and override windows when processing updates Summary: When processing render updates, we should be checking if the Ecore_Evas "should be visible" property is set. @fix Signed-off-by: Chris Michael --- 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 3495a22..9b3eccb 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 @@ -58,23 +58,15 @@ _ecore_evas_wl_common_render_updates_process(Ecore_Evas *ee, Eina_List *updates) { int rend = 0; - if ((ee->visible) && (updates)) + if (((ee->visible) && (ee->draw_ok)) || + ((ee->should_be_visible) && (ee->prop.fullscreen)) || + ((ee->should_be_visible) && (ee->prop.override))) { - /* Eina_List *l = NULL; */ - /* Eina_Rectangle *r; */ - /* Ecore_Evas_Engine_Wl_Data *wdata; */ - - /* if (!(wdata = ee->engine.data)) return 0; */ - - /* EINA_LIST_FOREACH(updates, l, r) */ - /* ecore_wl_window_damage(wdata->win, */ - /* r->x, r->y, r->w, r->h); */ - - /* ecore_wl_window_commit(wdata->win); */ - /* ecore_wl_flush(); */ - - _ecore_evas_idle_timeout_update(ee); - rend = 1; + if (updates) + { + _ecore_evas_idle_timeout_update(ee); + rend = 1; + } } else evas_norender(ee->evas);