Will use this to prevent accidentally adding objects to the list twice
Change-Id: Ic1aedde9e89fc2044938e9a4a08a3624b07d4d08
Eina_Bool keyboard_resizing : 1;
Eina_Bool gesture_disable : 1;
+ Eina_Bool on_post_updates : 1; // client is on the post update list
#ifdef HAVE_WAYLAND
uuid_t uuid;
#endif
EINA_LIST_FREE(e_comp->post_updates, ec)
{
//INF("POST %p", ec);
+ ec->on_post_updates = EINA_FALSE;
if (!e_object_is_del(E_OBJECT(ec)))
e_pixmap_image_clear(ec->pixmap, 1);
UNREFD(ec, 111);
if (cw->native)
{
E_FREE_FUNC(cw->pending_updates, eina_tiler_free);
+ cw->ec->on_post_updates = EINA_TRUE;
e_comp->post_updates = eina_list_append(e_comp->post_updates, cw->ec);
REFD(cw->ec, 111);
e_object_ref(E_OBJECT(cw->ec));
E_FREE_FUNC(cw->pending_updates, eina_tiler_free);
if (ret)
{
+ cw->ec->on_post_updates = EINA_TRUE;
e_comp->post_updates = eina_list_append(e_comp->post_updates, cw->ec);
REFD(cw->ec, 111);
e_object_ref(E_OBJECT(cw->ec));