discomfitor pushed a commit to branch master.
commit a463688c5e517546de326ac8340734353efd2a72
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Jul 2 10:03:06 2013 +0100
fix comp win layout stacking and remove unnecessary inlist ops
---
src/bin/e_comp.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index b58d5b2..29f7522 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -437,17 +437,9 @@ _e_comp_win_restack(E_Comp_Win *cw)
if (prev) cwp = EINA_INLIST_CONTAINER_GET(prev, E_Comp_Win);
if (cwp)
- {
- e_layout_child_raise_above(cw->effect_obj, cwp->effect_obj);
- cw->c->wins = eina_inlist_remove(cw->c->wins, EINA_INLIST_GET(cw));
- cw->c->wins = eina_inlist_append_relative(cw->c->wins,
EINA_INLIST_GET(cw), EINA_INLIST_GET(cwp));
- }
+ e_layout_child_raise_above(cw->effect_obj, cwp->effect_obj);
else if (cwn)
- {
- e_layout_child_raise_above(cw->effect_obj, cwn->effect_obj);
- cw->c->wins = eina_inlist_remove(cw->c->wins, EINA_INLIST_GET(cw));
- cw->c->wins = eina_inlist_append_relative(cw->c->wins,
EINA_INLIST_GET(cw), EINA_INLIST_GET(cwn));
- }
+ e_layout_child_lower_below(cw->effect_obj, cwn->effect_obj);
if (cw->bd)
{
E_Border *tmp;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev