Commit a0d9cc64 authored by Marius Vlad's avatar Marius Vlad

libweston/screnshooter: Fix weston screenshot event done if there's no client running

The 'done' event sent back to client with the weston screenshot interface
is not being sent if there is no damage on the plane. This patch (re-uses just
like recording part) weston_output_damage() to achieve that.

Otherwise the client will have to wait (and be blocked) until some
damage on the plane is being done.
Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad0@gmail.com>
parent d85fe29c
Pipeline #12834 passed with stage
in 4 minutes and 50 seconds