forked from enlightenment/enlightenment
win stacking - fix stacking transients if there are multiple
if 1 parent has 2, 3 or 4 etc. transi3ents as immediate children we reverse-stacked them. go to stacking them in order they are added (which would normally bve creation order which makes more sense). this stops some dialogs appearing intitally behind other dialogs that were there before. @fix
This commit is contained in:
parent
d40788bc7b
commit
4852760c8e
|
@ -5715,11 +5715,10 @@ e_client_transients_restack(E_Client *ec)
|
|||
if (!ec->transients) return;
|
||||
|
||||
list = eina_list_clone(ec->transients);
|
||||
E_LIST_REVERSE_FREE(list, child)
|
||||
EINA_LIST_FREE(list, child)
|
||||
{
|
||||
/* Don't stack iconic transients. If the user wants these shown,
|
||||
* that's another option.
|
||||
*/
|
||||
// Don't stack iconic transients. If the user wants these shown,
|
||||
// that's another option.
|
||||
if (child->iconic) continue;
|
||||
if (below)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue