diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fullscreen-shell.c | 2 | ||||
-rw-r--r-- | examples/output-layers.c | 2 | ||||
-rw-r--r-- | examples/scene-graph.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/fullscreen-shell.c b/examples/fullscreen-shell.c index afc3c876..35be46e2 100644 --- a/examples/fullscreen-shell.c +++ b/examples/fullscreen-shell.c @@ -163,7 +163,7 @@ static void server_handle_new_output(struct wl_listener *listener, void *data) { wl_list_insert(&server->outputs, &output->link); wlr_output_layout_add_auto(server->output_layout, wlr_output); - wlr_output_create_global(wlr_output); + wlr_output_create_global(wlr_output, server->wl_display); struct wlr_output_state state; wlr_output_state_init(&state); diff --git a/examples/output-layers.c b/examples/output-layers.c index cec3b50b..c8edc00f 100644 --- a/examples/output-layers.c +++ b/examples/output-layers.c @@ -184,7 +184,7 @@ static void server_handle_new_output(struct wl_listener *listener, void *data) { wlr_output_commit_state(wlr_output, &state); wlr_output_state_finish(&state); - wlr_output_create_global(wlr_output); + wlr_output_create_global(wlr_output, server->wl_display); } static void output_surface_handle_destroy(struct wl_listener *listener, diff --git a/examples/scene-graph.c b/examples/scene-graph.c index 03ad8141..be1070e9 100644 --- a/examples/scene-graph.c +++ b/examples/scene-graph.c @@ -90,7 +90,7 @@ static void server_handle_new_output(struct wl_listener *listener, void *data) { wlr_output_commit_state(wlr_output, &state); wlr_output_state_finish(&state); - wlr_output_create_global(wlr_output); + wlr_output_create_global(wlr_output, server->display); } static void surface_handle_commit(struct wl_listener *listener, void *data) { |