discomfitor pushed a commit to branch enlightenment-0.19.


commit 280e7e959dc2df094122344925132ae189a7a242
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Oct 15 15:33:28 2015 -0400

    force a software render in all cases when finalizing x11 client iconify
    since ICCCM requires that clients be unmapped while iconified, it's 
    for the compositor to perform one last render prior to the unmap in order to
    ensure that mirror objects will still appear as expected. this render must 
    the pixmap buffer data in order to avoid timing issues due to async/deferred
    rendering, and it is only necessary for the case of clients rendering with a
    native surface
    fix T2788
 src/bin/e_comp_object.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 8a139a3..3fe9296 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1999,6 +1999,11 @@ _e_comp_smart_hide(Evas_Object *obj)
      evas_object_focus_set(cw->ec->frame, 0);
    e_comp_render_queue(cw->comp); //force nocomp recheck
+   if ((!cw->ec->iconic) || (!e_pixmap_is_x(cw->ec->pixmap)) || (!cw->native)) 
+   e_comp_object_native_surface_set(obj, 0);
+   e_comp_object_damage(obj, 0, 0, cw->w, cw->h);
+   e_comp_object_dirty(obj);
+   e_comp_object_render(obj);
 static void


Reply via email to