Commit 2a746a52 authored by Derek Foreman's avatar Derek Foreman Committed by Bryce Harrington

screenshooter: clean up recorder_binding a little

We already have a pointer to the compositor so change seat->compositor to ec
Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: default avatarBryce Harrington <bryce@osg.samsung.com>
parent bc91e54a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment