discomfitor pushed a commit to branch enlightenment-0.19.

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

commit c31824c2ef43f4cb66534f4bc8c26064c477591a
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Sat Nov 7 13:06:23 2015 -0500

    move client iconic hint setting into x11 hide function
    
    e_hints should probably be merged into the x11 compositor entirely
    at some point
---
 src/bin/e_client.c | 1 -
 src/bin/e_comp_x.c | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index e8db0f3..0c5c79a 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -4028,7 +4028,6 @@ e_client_iconify(E_Client *ec)
         _e_client_revert_focus(ec);
         evas_object_hide(ec->frame);
      }
-   e_hints_window_iconic_set(ec);
    e_client_urgent_set(ec, ec->icccm.urgent);
 
    _e_client_event_simple(ec, E_EVENT_CLIENT_ICONIFY);
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 4674504..4f89ca6 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -947,6 +947,8 @@ _e_comp_x_client_hide(E_Client *ec)
 
    if (ec->unredirected_single || ec->iconic)
      ecore_x_window_hide(_e_comp_x_client_window_get(ec));
+   if (ec->iconic)
+     e_hints_window_iconic_set(ec);
 }
 
 static void

-- 


Reply via email to