mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 03:08:05 +02:00
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 <derekf@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
bc91e54a8c
commit
2a746a52d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue