diff options
Diffstat (limited to 'examples/rotation.c')
-rw-r--r-- | examples/rotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rotation.c b/examples/rotation.c index e610de33..7ee8dc78 100644 --- a/examples/rotation.c +++ b/examples/rotation.c @@ -250,7 +250,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(wl_display_get_event_loop(display), NULL); if (!wlr) { exit(1); } |