From bb557cbf9f9d903a4f9086a8f4fe8ca4b2bbf9d5 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 25 Sep 2015 23:41:29 -0400 Subject: [PATCH] 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 --- src/bin/e_comp_x.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 993c6d710..98e7b2b9a 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));