discomfitor pushed a commit to branch enlightenment-0.19.

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

commit 89436035d6ed864ccf7691fcc269c2b87a640a49
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Sep 25 21:36:22 2015 -0400

    map/unmap x11 client windows when toggling iconic state
    
    ICCCM 4.1.4
---
 src/bin/e_comp_x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 8e8de89..733866a 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -948,7 +948,7 @@ _e_comp_x_evas_hide_cb(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UN
    EINA_LIST_FOREACH(ec->e.state.video_child, l, tmp)
      evas_object_hide(tmp->frame);
 
-   if (ec->unredirected_single)
+   if (ec->unredirected_single || ec->iconic)
      ecore_x_window_hide(_e_comp_x_client_window_get(ec));
 
    if (e_comp_config_get()->send_flush)
@@ -970,7 +970,7 @@ _e_comp_x_evas_show_cb(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UN
    ecore_x_window_shadow_tree_flush();
    if (!ec->comp_data->need_reparent)
      ecore_x_window_show(win);
-   if (ec->unredirected_single)
+   if (ec->unredirected_single || ec->iconic)
      ecore_x_window_show(_e_comp_x_client_window_get(ec));
    if (!ec->override)
      e_hints_window_visible_set(ec);

-- 


Reply via email to