forked from enlightenment/enlightenment
Fix wayland hide for internal windows
We need to make sure we drop reference on all exit paths through the
hide callback - somehow this only seemed to break internal windows.
ref 65166c5a36
This commit is contained in:
parent
15a918d3c7
commit
ff70943f76
|
@ -139,9 +139,13 @@ _e_comp_wl_evas_cb_hide(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EIN
|
|||
|
||||
if (!e_object_is_del(E_OBJECT(ec))) return;
|
||||
|
||||
e_comp_object_dirty(ec->frame);
|
||||
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
|
||||
if (!e_comp_object_render(ec->frame)) return;
|
||||
e_comp_object_dirty(ec->frame);
|
||||
if (!e_comp_object_render(ec->frame))
|
||||
{
|
||||
e_object_unref(E_OBJECT(ec));
|
||||
return;
|
||||
}
|
||||
if (!ec->on_post_updates)
|
||||
{
|
||||
ec->on_post_updates = EINA_TRUE;
|
||||
|
|
Loading…
Reference in New Issue