discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=bc5172b96baaa1ba4d06ae05532747caa23063fd

commit bc5172b96baaa1ba4d06ae05532747caa23063fd
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Mar 10 15:57:15 2017 -0500

    force iconic state for iconic x11 clients during shutdown
    
    this may or may not have been set previously if client mirrors are present,
    but it should definitely be set during shutdown since there are no mirrors
---
 src/bin/e_comp_x.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 909e364..ea578a8 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -4712,6 +4712,11 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client 
*ec)
    if (unfocus_job_client == ec) unfocus_job_client = NULL;
    if ((!stopping) && cd && (!cd->deleted))
      ecore_x_window_prop_card32_set(win, E_ATOM_MANAGED, &visible, 1);
+   if (stopping && ec->iconic)
+     {
+        e_hints_window_iconic_set(ec);
+        e_hints_window_state_set(ec);
+     }
    if ((!ec->already_unparented) && cd && cd->reparented)
      {
         _e_comp_x_focus_setdown(ec);

-- 


Reply via email to