From 4852760c8e6132db8d9a41036cc85b86246684a9 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 30 Oct 2019 11:18:46 +0000 Subject: [PATCH] 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 --- src/bin/e_client.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/bin/e_client.c b/src/bin/e_client.c index e6b2ff795..abd2742c0 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) {