From adaf8c7410da89636c7318ab6b5856aa596a9cd2 Mon Sep 17 00:00:00 2001 From: Leandro Ribeiro Date: Wed, 27 Nov 2019 11:20:47 -0300 Subject: [PATCH] renderer: change frame_signal emission to pass previous_damage as data argument This will make possible to users that are listening to frame_signal to get previous_damage from the data parameter instead of using output->previous_damage. Signed-off-by: Leandro Ribeiro --- libweston/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/compositor.c b/libweston/compositor.c index 47f7edfd..2025039e 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -2723,7 +2723,7 @@ weston_output_repaint(struct weston_output *output, void *repaint_data) weston_output_update_matrix(output); r = output->repaint(output, &output_damage, repaint_data); - wl_signal_emit(&output->frame_signal, output); + wl_signal_emit(&output->frame_signal, &output_damage); pixman_region32_fini(&output_damage);