allow new fullscreening clients to replace current nocomp where applicable

This commit is contained in:
Mike Blumenkrantz 2015-05-18 13:19:56 -04:00
parent 9b420c8d69
commit 83eebacb5d
1 changed files with 2 additions and 0 deletions

View File

@ -3823,6 +3823,8 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
ec->need_fullscreen = 1;
return;
}
if (e_comp->nocomp_ec && (ec->desk == e_comp->nocomp_ec->desk))
e_comp->nocomp_ec = ec;
ec->desk->fullscreen_clients = eina_list_append(ec->desk->fullscreen_clients, ec);
ec->pre_res_change.valid = 0;