force xwindow stacking to obey nocomp policy and stack below current nocomp

fix T2277
This commit is contained in:
Mike Blumenkrantz 2015-05-18 13:19:33 -04:00
parent 205d8b0b74
commit 9b420c8d69
1 changed files with 14 additions and 9 deletions

View File

@ -619,6 +619,10 @@ _e_comp_x_client_stack(E_Client *ec)
ecore_x_window_shadow_tree_flush();
/* try stacking below */
if (e_comp->nocomp_ec && (ec != e_comp->nocomp_ec))
win = _e_comp_x_client_window_get(e_comp->nocomp_ec);
else
{
ec2 = ec;
do
{
@ -630,6 +634,7 @@ _e_comp_x_client_stack(E_Client *ec)
win = _e_comp_x_client_window_get(ec2);
}
} while (ec2 && (!win));
}
/* try stacking above */
if (!win)