From f124f1bf6eb7d11dcc67c1b3c17dd7a0c73c17c8 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 7 Aug 2015 17:20:05 -0400 Subject: [PATCH] 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 --- 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; -- 2.7.4