ee_wayland: Set window visible before trying to render it

if we try to render before setting ee->visible the results aren't
likely to be... visible.
This commit is contained in:
Derek Foreman 2018-03-14 16:03:36 -05:00
parent ab43e61ef6
commit 812ab64413
1 changed files with 1 additions and 2 deletions

View File

@ -2091,6 +2091,7 @@ _ecore_evas_wl_common_show(Ecore_Evas *ee)
wdata->defer_show = EINA_TRUE;
return;
}
ee->visible = 1;
if (wdata->win)
{
@ -2142,8 +2143,6 @@ _ecore_evas_wl_common_show(Ecore_Evas *ee)
ee->prop.withdrawn = EINA_FALSE;
if (ee->func.fn_state_change) ee->func.fn_state_change(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);