discomfitor pushed a commit to branch enlightenment-0.19.

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

commit f65991a7ba6f26b1b133b75344da3dac2b5fc2bd
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Sep 25 23:41:29 2015 -0400

    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 733866a..a63c304 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -949,7 +949,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));

-- 


Reply via email to