From: Mike Blumenkrantz Date: Sat, 26 Sep 2015 03:41:29 +0000 (-0400) Subject: force pixmap clear when hiding an x11 window X-Git-Tag: upstream/0.20.0~229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb557cbf9f9d903a4f9086a8f4fe8ca4b2bbf9d5;p=platform%2Fupstream%2Fenlightenment.git force pixmap clear when hiding an x11 window failure to refetch this upon remapping the window will result in a broken pixmap which cannot be rendered --- diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 993c6d7..98e7b2b 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -977,7 +977,10 @@ _e_comp_x_evas_hide_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN evas_object_hide(tmp->frame); if (ec->unredirected_single || ec->iconic) - ecore_x_window_hide(_e_comp_x_client_window_get(ec)); + { + ecore_x_window_hide(_e_comp_x_client_window_get(ec)); + e_pixmap_clear(ec->pixmap); + } if (e_comp_config_get()->send_flush) ecore_x_e_comp_flush_send(e_client_util_win_get(ec));