From: Derek Foreman Date: Fri, 7 Aug 2015 21:20:05 +0000 (-0400) Subject: wayland: force wl surface frame callbacks on commit for undamaged surfaces X-Git-Tag: upstream/0.20.0~419 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f124f1bf6eb7d11dcc67c1b3c17dd7a0c73c17c8;p=platform%2Fupstream%2Fenlightenment.git wayland: force wl surface frame callbacks on commit for undamaged surfaces Summary: 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. #Kansas Reviewers: zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2934 --- 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;