summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-08-02 16:57:06 +0900
committerCedric BAIL <cedric@osg.samsung.com>2015-08-17 18:10:12 +0200
commit8220627d7f1e4a26277dd5fa71a221a7479833ca (patch)
tree4fe06d46aba8f22b114e4c74ad6177148e7f4016
parent398ba57728fea111136a4a5cc44ed212d1ae2381 (diff)
downloadenlightenment-8220627d7f1e4a26277dd5fa71a221a7479833ca.tar.gz
solve a race condition for stacking of windows if opened at the same
time by the same client.
-rw-r--r--src/bin/e_border.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 834f800cfb..801fa49bdc 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;