discomfitor pushed a commit to branch master.

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

commit 83777909b2220abf93e670a7c69f103a1f47682c
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Dec 10 13:28:44 2015 -0500

    do not drop subsurface buffer early after commit from cache
    
    this should work the same way as a normal surface
---
 src/bin/e_comp_wl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index cbedeca..97e646b 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1745,8 +1745,8 @@ _e_comp_wl_subsurface_commit_from_cache(E_Client *ec)
    DBG("Subsurface Commit from Cache");
 
    _e_comp_wl_surface_state_commit(ec, &sdata->cached);
-
-   e_comp_wl_buffer_reference(&sdata->cached_buffer_ref, NULL);
+   if (!e_comp_object_damage_exists(ec->frame))
+     e_pixmap_image_clear(ec->pixmap, 1);
 }
 
 static void

-- 


Reply via email to