diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fullscreen-shell.c | 2 | ||||
-rw-r--r-- | examples/multi-pointer.c | 2 | ||||
-rw-r--r-- | examples/output-layout.c | 2 | ||||
-rw-r--r-- | examples/pointer.c | 2 | ||||
-rw-r--r-- | examples/rotation.c | 2 | ||||
-rw-r--r-- | examples/simple.c | 2 | ||||
-rw-r--r-- | examples/tablet.c | 2 | ||||
-rw-r--r-- | examples/touch.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/examples/fullscreen-shell.c b/examples/fullscreen-shell.c index 9b722c05..9a2f7d7d 100644 --- a/examples/fullscreen-shell.c +++ b/examples/fullscreen-shell.c @@ -203,7 +203,7 @@ int main(int argc, char *argv[]) { struct fullscreen_server server = {0}; server.wl_display = wl_display_create(); - server.backend = wlr_backend_autocreate(server.wl_display, NULL); + server.backend = wlr_backend_autocreate(server.wl_display); server.renderer = wlr_backend_get_renderer(server.backend); wlr_renderer_init_wl_display(server.renderer, server.wl_display); diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c index a48f5888..2445e2ff 100644 --- a/examples/multi-pointer.c +++ b/examples/multi-pointer.c @@ -271,7 +271,7 @@ int main(int argc, char *argv[]) { .clear_color = { 0.25f, 0.25f, 0.25f, 1 }, .display = display, }; - struct wlr_backend *wlr = wlr_backend_autocreate(display, NULL); + struct wlr_backend *wlr = wlr_backend_autocreate(display); if (!wlr) { exit(1); } diff --git a/examples/output-layout.c b/examples/output-layout.c index b3fff419..0c86abcc 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -267,7 +267,7 @@ int main(int argc, char *argv[]) { state.layout = wlr_output_layout_create(); clock_gettime(CLOCK_MONOTONIC, &state.ts_last); - struct wlr_backend *wlr = wlr_backend_autocreate(display, NULL); + struct wlr_backend *wlr = wlr_backend_autocreate(display); if (!wlr) { exit(1); } diff --git a/examples/pointer.c b/examples/pointer.c index 92a5934e..64815804 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -333,7 +333,7 @@ int main(int argc, char *argv[]) { .display = display }; - struct wlr_backend *wlr = wlr_backend_autocreate(display, NULL); + struct wlr_backend *wlr = wlr_backend_autocreate(display); if (!wlr) { exit(1); } diff --git a/examples/rotation.c b/examples/rotation.c index edd100e9..4eb600d9 100644 --- a/examples/rotation.c +++ b/examples/rotation.c @@ -241,7 +241,7 @@ int main(int argc, char *argv[]) { }; wl_list_init(&state.outputs); - struct wlr_backend *wlr = wlr_backend_autocreate(display, NULL); + struct wlr_backend *wlr = wlr_backend_autocreate(display); if (!wlr) { exit(1); } diff --git a/examples/simple.c b/examples/simple.c index ce58dfa9..34ca46c7 100644 --- a/examples/simple.c +++ b/examples/simple.c @@ -173,7 +173,7 @@ int main(void) { .last_frame = { 0 }, .display = display }; - struct wlr_backend *backend = wlr_backend_autocreate(display, NULL); + struct wlr_backend *backend = wlr_backend_autocreate(display); if (!backend) { exit(1); } diff --git a/examples/tablet.c b/examples/tablet.c index 59bf6979..af21ad2e 100644 --- a/examples/tablet.c +++ b/examples/tablet.c @@ -356,7 +356,7 @@ int main(int argc, char *argv[]) { }; wl_list_init(&state.tablet_pads); wl_list_init(&state.tablet_tools); - struct wlr_backend *wlr = wlr_backend_autocreate(display, NULL); + struct wlr_backend *wlr = wlr_backend_autocreate(display); if (!wlr) { exit(1); } diff --git a/examples/touch.c b/examples/touch.c index 7f8980e1..c0053075 100644 --- a/examples/touch.c +++ b/examples/touch.c @@ -249,7 +249,7 @@ int main(int argc, char *argv[]) { wl_list_init(&state.touch_points); wl_list_init(&state.touch); - struct wlr_backend *wlr = wlr_backend_autocreate(display, NULL); + struct wlr_backend *wlr = wlr_backend_autocreate(display); if (!wlr) { exit(1); } |