aboutsummaryrefslogtreecommitdiff
path: root/examples/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple.c')
-rw-r--r--examples/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple.c b/examples/simple.c
index 8fe49460..1a018829 100644
--- a/examples/simple.c
+++ b/examples/simple.c
@@ -181,7 +181,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(wl_display_get_event_loop(display), NULL);
if (!backend) {
exit(1);
}