From: Mike Blumenkrantz Date: Sat, 26 Sep 2015 01:36:22 +0000 (-0400) Subject: map/unmap x11 client windows when toggling iconic state X-Git-Tag: upstream/0.20.0~232 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c73a0b31111fe8a071b33e76200f1b3bdcbe256;p=platform%2Fupstream%2Fenlightenment.git map/unmap x11 client windows when toggling iconic state ICCCM 4.1.4 --- 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);