discomfitor pushed a commit to branch master.
commit c32fbb3ab467f8e95a4dc79742ed1843bca20507
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Apr 18 10:20:21 2013 +0100
comp win reshadow now sets geom update flag instead of updating geom
---
src/bin/e_comp.c | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 2c1414a..836c0f8 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -5010,22 +5010,20 @@ e_comp_win_reshadow(E_Comp_Win *cw)
_e_comp_win_shadow_setup(cw);
// evas_object_move(cw->effect_obj, cw->x, cw->y);
// evas_object_resize(cw->effect_obj, cw->pw, cw->ph);
- _e_comp_win_geometry_update(cw);
- if (cw->visible)
+ if (!cw->visible) return;
+ cw->geom_update = 1;
+ evas_object_show(cw->effect_obj);
+ if (cw->show_ready)
{
- evas_object_show(cw->effect_obj);
- if (cw->show_ready)
+ cw->defer_hide = 0;
+ if (!cw->hidden_override) _e_comp_child_show(cw);
+ edje_object_signal_emit(cw->shobj, "e,state,visible,on", "e");
+ if (!cw->animating)
{
- cw->defer_hide = 0;
- if (!cw->hidden_override) _e_comp_child_show(cw);
- edje_object_signal_emit(cw->shobj, "e,state,visible,on", "e");
- if (!cw->animating)
- {
- cw->c->animating++;
- }
- cw->animating = 1;
- _e_comp_win_render_queue(cw);
+ cw->c->animating++;
}
+ cw->animating = 1;
+ _e_comp_win_render_queue(cw);
}
}
--
------------------------------------------------------------------------------
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