cedric pushed a commit to branch enlightenment-0.17.

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

commit 8220627d7f1e4a26277dd5fa71a221a7479833ca
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Aug 2 16:57:06 2013 +0900

    solve a race condition for stacking of windows if opened at the same
    time by the same client.
---
 src/bin/e_border.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 834f800..801fa49 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -7664,7 +7664,8 @@ _e_border_eval0(E_Border *bd)
           }
         if (bd->parent)
           {
-             e_border_layer_set(bd, bd->parent->layer);
+             if (bd->parent->layer != bd->layer)
+               e_border_layer_set(bd, bd->parent->layer);
              if ((e_config->modal_windows) && (bd->client.netwm.state.modal))
                {
                   bd->parent->modal = bd;

-- 


Reply via email to