Summary: A previous code change to the common code which processes
updates is relying on having the ecore_evas->draw_ok flag set in order
to process updates. This change makes sure that ee->draw_ok is in sync
with canvas visibility.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
if (ee->visible) return;
ee->visible = 1;
+ ee->should_be_visible = 1;
+ ee->draw_ok = EINA_TRUE;
if (ee->func.fn_show) ee->func.fn_show(ee);
}
if (!ee->visible) return;
ee->visible = 0;
ee->should_be_visible = 0;
+ ee->draw_ok = EINA_FALSE;
if (ee->func.fn_hide) ee->func.fn_hide(ee);
}
if (ee->visible) return;
ee->visible = 1;
+ ee->should_be_visible = 1;
+ ee->draw_ok = EINA_TRUE;
if (ee->func.fn_show) ee->func.fn_show(ee);
}
if (!ee->visible) return;
ee->visible = 0;
ee->should_be_visible = 0;
+ ee->draw_ok = EINA_FALSE;
if (ee->func.fn_hide) ee->func.fn_hide(ee);
}