[PATCH weston 10/19] screenshooter: clean up recorder_binding a little
Jonas Ådahl
jadahl at gmail.com
Wed Jul 1 01:53:41 PDT 2015
On Wed, Jun 03, 2015 at 03:53:29PM -0500, Derek Foreman wrote:
> We already have a pointer to the compositor so change seat->compositor to ec
>
> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl at gmail.com>
> ---
> src/screenshooter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/screenshooter.c b/src/screenshooter.c
> index 4e32db5..fc648a1 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)
> --
> 2.1.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list