fix case of reparenting window where properties are just being set and window is not actually being reparented

SVN revision: 75068
This commit is contained in:
Mike Blumenkrantz 2012-08-10 07:47:26 +00:00
parent e3e11778fa
commit c0790f7d55
1 changed files with 3 additions and 0 deletions

View File

@ -6897,6 +6897,9 @@ _e_border_eval0(E_Border *bd)
{
bd_parent->transients = eina_list_append(bd_parent->transients, bd);
bd->parent = bd_parent;
}
if (bd->parent)
{
e_border_layer_set(bd, bd->parent->layer);
if ((e_config->modal_windows) && (bd->client.netwm.state.modal))
bd->parent->modal = bd;