do not drop subsurface buffer early after commit from cache

this should work the same way as a normal surface
This commit is contained in:
Mike Blumenkrantz 2015-12-10 13:28:44 -05:00
parent 09d5ca9e25
commit 7836d58030
1 changed files with 2 additions and 2 deletions

View File

@ -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