aboutsummaryrefslogtreecommitdiff
path: root/examples/support/shared.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-06 12:42:32 +0100
committeremersion <contact@emersion.fr>2018-01-06 12:42:32 +0100
commit8ebd7d4dbebc89aedf5e08d30ebcb5326b92f80b (patch)
tree5e7390cbe109dcb2428afa4129219c56828aaca7 /examples/support/shared.c
parent6fe380a1769fe40a9ce0f1d6f1aeb1b3beb63c16 (diff)
output: rename resolution event to mode
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);