discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=cc2939b327f9ae1ff8b13d3f6bc10ed1b973003f

commit cc2939b327f9ae1ff8b13d3f6bc10ed1b973003f
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Nov 20 15:12:25 2013 -0500

    prepend new windows to focus stack during init
    
    this fixes stacking after restarts since we manage and raise windows from 
the bottom up, meaning that we must also build our focus stack from back to 
front
---
 src/bin/e_border.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 43cc261..19b49ff 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -728,7 +728,10 @@ e_border_new(E_Container *con, Ecore_X_Window win, int 
first_map, int internal)
    desk[1] = desky;
    ecore_x_window_prop_card32_set(win, E_ATOM_DESK, desk, 2);
 
-   focus_stack = eina_list_append(focus_stack, bd);
+   if (starting)
+     focus_stack = eina_list_prepend(focus_stack, bd);
+   else
+     focus_stack = eina_list_append(focus_stack, bd);
 
    return bd;
 }

-- 


Reply via email to