discomfitor pushed a commit to branch master.


commit f124f1bf6eb7d11dcc67c1b3c17dd7a0c73c17c8
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Aug 7 17:20:05 2015 -0400

    wayland: force wl surface frame callbacks on commit for undamaged surfaces
    Doing it just for bufferless surfaces wasn't quite enough, sometimes
    we get a sequence like: attach, commit, frame, commit
    And we need to respond to the frame.
    Reviewers: zmike
    Subscribers: cedric
    Differential Revision: https://phab.enlightenment.org/D2934
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index b6e4686..97ed026 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2768,7 +2768,7 @@ e_comp_wl_surface_commit(E_Client *ec)
    Eina_Bool ignored;
    _e_comp_wl_surface_state_commit(ec, &ec->comp_data->pending);
-   if (!e_pixmap_usable_get(ec->pixmap))
+   if (!e_comp_object_damage_exists(ec->frame))
      e_pixmap_image_clear(ec->pixmap, 1);
    ignored = ec->ignored;


Reply via email to