aboutsummaryrefslogtreecommitdiff
path: root/examples/support/shared.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-17 08:27:47 -0500
committerTony Crisci <tony@dubstepdish.com>2018-01-17 08:27:47 -0500
commit43896af90fbd6c743be1e54a0659d7c0f89eaa00 (patch)
treec9d0907dbdc9932b593cf154f4ebce6db5a27e2d /examples/support/shared.c
parentb40a5f084abeb5530b3a0097c946ba720c897262 (diff)
parentf2698a896085a5a2dd651a7f1d4fb623d567acf4 (diff)
Merge branch 'master' into modifier-fixes
Diffstat (limited to 'examples/support/shared.c')
-rw-r--r--examples/support/shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/support/shared.c b/examples/support/shared.c
index f76e4389..6cfaa6aa 100644
--- a/examples/support/shared.c
+++ b/examples/support/shared.c
@@ -425,7 +425,7 @@ static void output_add_notify(struct wl_listener *listener, void *data) {
ostate->frame.notify = output_frame_notify;
ostate->resolution.notify = output_resolution_notify;
wl_signal_add(&output->events.frame, &ostate->frame);
- wl_signal_add(&output->events.resolution, &ostate->resolution);
+ wl_signal_add(&output->events.mode, &ostate->resolution);
wl_list_insert(&state->outputs, &ostate->link);
if (state->output_add_cb) {
state->output_add_cb(ostate);