From 2a746a52d466085ceff2ef949911d6d1a5c723cb Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 3 Jun 2015 15:53:29 -0500 Subject: [PATCH] screenshooter: clean up recorder_binding a little We already have a pointer to the compositor so change seat->compositor to ec Signed-off-by: Derek Foreman Reviewed-by: Bryce Harrington --- src/screenshooter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screenshooter.c b/src/screenshooter.c index 4e32db53d..fc648a10d 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -564,7 +564,7 @@ recorder_binding(struct weston_seat *seat, uint32_t time, uint32_t key, void *da struct weston_recorder *recorder; static const char filename[] = "capture.wcap"; - wl_list_for_each(output, &seat->compositor->output_list, link) { + wl_list_for_each(output, &ec->output_list, link) { listener = wl_signal_get(&output->frame_signal, weston_recorder_frame_notify); if (listener)