solve a race condition for stacking of windows if opened at the same

time by the same client.
This commit is contained in:
Carsten Haitzler 2013-08-02 16:57:06 +09:00
parent e2cf7d3485
commit 7cf4bfd6d0
1 changed files with 2 additions and 1 deletions

View File

@ -7463,7 +7463,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 (bd->client.netwm.state.modal)
{
bd->parent->modal = bd;