aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shared.c')
-rw-r--r--examples/shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shared.c b/examples/shared.c
index 1474f8a2..5ebb7aa6 100644
--- a/examples/shared.c
+++ b/examples/shared.c
@@ -433,7 +433,7 @@ static void output_resolution_notify(struct wl_listener *listener, void *data) {
struct compositor_state *compositor = output->compositor;
if (compositor->output_resolution_cb) {
- compositor->output_resolution_cb(output);
+ compositor->output_resolution_cb(compositor, output);
}
}