discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=6a80d19cd7ddd2eb00950042e351132a35f5fcc0
commit 6a80d19cd7ddd2eb00950042e351132a35f5fcc0 Author: Mike Blumenkrantz <[email protected]> Date: Thu Jan 23 13:25:25 2014 -0500 restack windows after unreparenting on shutdown this preserves stacking order across restarts --- src/bin/e_comp_x.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 5140030..8db6b64 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -4103,8 +4103,15 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client *ec) if (!ec->comp_data->deleted) { if (stopping) - ecore_x_window_reparent(win, ec->comp->man->root, - ec->client.x, ec->client.y); + { + ecore_x_window_reparent(win, ec->comp->man->root, + ec->client.x, ec->client.y); + ecore_x_window_configure(win, + ECORE_X_WINDOW_CONFIGURE_MASK_SIBLING | + ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE, + 0, 0, 0, 0, 0, e_client_util_pwin_get(ec), + ECORE_X_WINDOW_STACK_BELOW); + } else /* put the window back where we found it to prevent annoying dancing windows */ --
