forked from enlightenment/efl
ecore-evas-wayland: Fix issue with ELM_PROFILE=mobile and windows not
showing up correctly. Summary: If elm config profile is set to Mobile, then the auto_norender_withdrawn is set to 1, which was causing Elm windows to not draw properly due to the ee->withdrawn property not being updated. It was not getting updated due to these checks for override. NB: Tested this with all elm profiles, tested in weston, and tested in Enlightenment (Wayland). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
dfb60c0bfe
commit
9cd2d614e9
|
@ -331,11 +331,8 @@ _ecore_evas_wl_show(Ecore_Evas *ee)
|
|||
evas_object_resize(wdata->frame, ee->w + fw, ee->h + fh);
|
||||
}
|
||||
|
||||
if (ee->prop.override)
|
||||
{
|
||||
ee->prop.withdrawn = EINA_FALSE;
|
||||
if (ee->func.fn_state_change) ee->func.fn_state_change(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;
|
||||
|
|
|
@ -323,11 +323,8 @@ _ecore_evas_wl_show(Ecore_Evas *ee)
|
|||
evas_object_resize(wdata->frame, ee->w + fw, ee->h + fh);
|
||||
}
|
||||
|
||||
if (ee->prop.override)
|
||||
{
|
||||
ee->prop.withdrawn = EINA_FALSE;
|
||||
if (ee->func.fn_state_change) ee->func.fn_state_change(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;
|
||||
|
|
Loading…
Reference in New Issue