diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-10-30 11:18:46 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-10-30 11:18:46 +0000 |
commit | 7edb3550dd39d669a036b1a648601f60389259e7 (patch) | |
tree | 2f180a4b8020a2ad12b6dd49ac1e6710a42dfad4 | |
parent | fd55a92ace73a7fb13ec52eb27b66dddea6a8b33 (diff) | |
download | enlightenment-7edb3550dd39d669a036b1a648601f60389259e7.tar.gz |
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
-rw-r--r-- | src/bin/e_client.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c index e6b2ff7953..abd2742c07 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -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) { |