fix compositing error when client is ec->hidden during show animation
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 22 Jul 2015 17:30:02 +0000 (13:30 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 22 Jul 2015 17:30:02 +0000 (13:30 -0400)
this prevented clients from being deleted and resulted in artifacts and
memory leaks

src/bin/e_comp_object.c

index 6516e1f..e0028f0 100644 (file)
@@ -2107,7 +2107,7 @@ _e_comp_smart_show(Evas_Object *obj)
      }
    if (cw->ec->iconic && (!cw->ec->new_client))
      e_comp_object_signal_emit(cw->smart_obj, "e,action,uniconify", "e");
-   else
+   else if (!cw->showing) /* if set, client was ec->hidden during show animation */
      {
         e_comp_object_signal_emit(cw->smart_obj, "e,state,visible", "e");
         _e_comp_object_animating_begin(cw);