unset comp effect clip after effect ends
authorMike Blumenkrantz <m.blumenkran@samsung.com>
Fri, 19 Apr 2013 15:23:56 +0000 (16:23 +0100)
committerMike Blumenkrantz <m.blumenkran@samsung.com>
Fri, 19 Apr 2013 15:23:56 +0000 (16:23 +0100)
src/bin/e_comp.c

index 2e4e981..eeafbee 100644 (file)
@@ -2483,6 +2483,7 @@ _e_comp_win_show(E_Comp_Win *cw)
    else
      cw->dmg_updates = 1;
 
+   cw->geom_update = 1;
    if (cw->win && ((!cw->redirected) || (!cw->pixmap)))
      {
         // we redirect all subwindows anyway
@@ -5511,12 +5512,19 @@ _e_comp_win_effect_end_cb(void *data EINA_UNUSED, Evas_Object *obj, const char *
 {
    Edje_Signal_Cb end_cb;
    void *end_data;
+   E_Comp_Win *cw;
 
    end_cb = evas_object_data_get(obj, "_e_comp.end_cb");
    end_data = evas_object_data_get(obj, "_e_comp.end_data");
    end_cb(end_data, obj, emission, source);
 
    edje_object_signal_callback_del_full(obj, "e,action,done", "e", _e_comp_win_effect_end_cb, NULL);
+   cw = evas_object_data_get(obj, "comp_win");
+   if (cw->effect_clip)
+     {
+        evas_object_clip_unset(cw->effect_obj);
+        cw->effect_clip = 0;
+     }
 }
 
 EAPI void