discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 7836d58030ab03d7ed1671eadc548452d86b78ef
Author: Mike Blumenkrantz <[email protected]>
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 dc13a48..37939d0 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1760,8 +1760,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