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 committed by Cedric BAIL
parent 398ba57728
commit 8220627d7f
1 changed files with 2 additions and 1 deletions

View File

@ -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;