forked from enlightenment/efl
ecore_evas/wayland: Update withdrawn property, and inform state_changed.
This commit is contained in:
parent
82841fefe3
commit
cb3fcca0e7
|
@ -1484,10 +1484,17 @@ _ecore_evas_wl_common_withdrawn_set(Ecore_Evas *ee, int val)
|
||||||
{
|
{
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
|
val = !!val;
|
||||||
|
|
||||||
|
if (ee->prop.withdrawn == val)
|
||||||
|
return;
|
||||||
|
|
||||||
|
ee->prop.withdrawn = val;
|
||||||
if (val)
|
if (val)
|
||||||
ecore_evas_hide(ee);
|
ecore_evas_hide(ee);
|
||||||
else
|
else
|
||||||
ecore_evas_show(ee);
|
ecore_evas_show(ee);
|
||||||
|
_ecore_evas_wl_common_state_update(ee);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue