summaryrefslogtreecommitdiff
path: root/src/screenshooter.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-06-03 15:53:29 -0500
committerBryce Harrington <bryce@osg.samsung.com>2015-06-04 13:44:01 -0700
commit2a746a52d466085ceff2ef949911d6d1a5c723cb (patch)
tree073e66e0bf66fffd8895ec063bbfbd9e718b2d66 /src/screenshooter.c
parentbc91e54a8c88d400759fb52cb85182866de585ec (diff)
downloadweston-2a746a52d466085ceff2ef949911d6d1a5c723cb.tar.gz
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>
Diffstat (limited to 'src/screenshooter.c')
-rw-r--r--src/screenshooter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshooter.c b/src/screenshooter.c
index 4e32db53..fc648a10 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)