discomfitor pushed a commit to branch master.

commit ce21e7fe980332576450372a18010ba6042d8f2f
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu May 23 08:58:29 2013 +0100

    ensure we delete previous shape if we commandeer an override comp win as a 
border comp win somehow
---
 src/bin/e_comp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 8d75d70..0b5ac3e 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2094,6 +2094,9 @@ _e_comp_win_bd_setup(E_Comp_Win *cw, E_Border *bd)
    cw->bd = bd;
    eina_hash_add(borders, e_util_winid_str_get(cw->bd->client.win), cw);
    cw->dfn = e_object_delfn_add(E_OBJECT(cw->bd), _e_comp_object_del, cw);
+   E_FREE_FUNC(cw->shape, e_object_del);
+   if (cw->effect_obj) evas_object_pass_events_set(cw->effect_obj, 0);
+   cw->free_shape = 0;
    cw->shape = cw->bd->shape;
    cw->bd->cw = cw;
    cw->opacity = cw->bd->client.netwm.opacity;

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to