discomfitor pushed a commit to branch master.

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

commit 2c73a0b31111fe8a071b33e76200f1b3bdcbe256
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 551d431..fa5f157 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -976,7 +976,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)
@@ -998,7 +998,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 (!_e_comp_x_client_data_get(ec)->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