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