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:
Carsten Haitzler 2019-10-30 11:18:46 +00:00
parent d40788bc7b
commit 4852760c8e
1 changed files with 3 additions and 4 deletions

View File

@ -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)
{