nocomp enforcing is now more accurate

This commit is contained in:
Mike Blumenkrantz 2014-08-16 09:46:56 -04:00
parent 6bf8e24320
commit 62023bc722
1 changed files with 4 additions and 2 deletions

View File

@ -484,10 +484,12 @@ nocomp:
(ec && nec) && (ec != nec); ec = nec, nec = e_client_below_get(ec))
{
if (ec == c->nocomp_ec) break;
if (evas_object_layer_get(ec->frame) < evas_object_layer_get(c->nocomp_ec->frame)) break;
if (e_client_is_stacking(ec)) continue;
if (ec->override && ec->internal) continue; //systray
if (!evas_object_visible_get(ec->frame)) continue;
if (evas_object_data_get(ec->frame, "comp_skip")) continue;
if (e_object_is_del(E_OBJECT(ec)) || (!e_client_util_desk_visible(ec, e_desk_current_get(ec->zone)))) continue;
if (e_config->allow_above_fullscreen && (!e_config->mode.presentation))
if (ec->override || (e_config->allow_above_fullscreen && (!e_config->mode.presentation)))
{
_e_comp_nocomp_end(c);
break;