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
This commit is contained in:
Derek Foreman 2015-08-07 17:20:05 -04:00 committed by Mike Blumenkrantz
parent 7c195e383c
commit f124f1bf6e
1 changed files with 1 additions and 1 deletions

View File

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