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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-10-08 13:37:30 -04:00
parent dd8ec36962
commit 295bfd7df6
1 changed files with 8 additions and 16 deletions

View File

@ -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);