diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-23 14:17:39 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-25 15:05:36 +0000 |
commit | d1b39b58432c471c16e09103fd2c7850e3c41950 (patch) | |
tree | 1d825cbf9ba005a7061eb40e6ff55dfb70ac30cd /examples/pointer.c | |
parent | f27808b8d98d5b9907a347cd9f01bb7bef3218b9 (diff) |
backend: take wl_event_loop instead of wl_display in wlr_backend_autocreate()
Diffstat (limited to 'examples/pointer.c')
-rw-r--r-- | examples/pointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pointer.c b/examples/pointer.c index 808c7b95..7d1f4e4b 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -341,7 +341,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(wl_display_get_event_loop(display), NULL); if (!wlr) { exit(1); } |