enforce fullscreen client stacking during nocomp end IFF client is fullscreen

previous behavior would result in the nocomp window becoming stuck at a fullscreen
layer when ending nocomp, even if the client was no longer fullscreen

fix T2827
This commit is contained in:
Mike Blumenkrantz 2015-11-09 13:20:50 -05:00
parent eefba09456
commit 245bb97922
1 changed files with 7 additions and 0 deletions

View File

@ -364,6 +364,13 @@ _e_comp_nocomp_end(E_Comp *c)
layer = E_LAYER_CLIENT_TOP;
fs = c->nocomp_ec->fullscreen;
c->nocomp_ec->fullscreen = 0;
if (fs)
{
if (!e_config->allow_above_fullscreen)
layer = E_LAYER_CLIENT_FULLSCREEN;
else if (e_config->mode.presentation)
layer = E_LAYER_CLIENT_TOP;
}
evas_object_layer_set(c->nocomp_ec->frame, layer);
c->nocomp_ec->fullscreen = fs;
}