discomfitor pushed a commit to branch master.

commit bd0ca79320888eaa6bc2a024c6c3ad9573f7ca4e
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Apr 19 16:23:56 2013 +0100

    unset comp effect clip after effect ends
---
 src/bin/e_comp.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 2e4e981..eeafbee 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -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

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to