mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend: take wl_event_loop instead of wl_display in wlr_backend_autocreate()
This commit is contained in:
parent
f27808b8d9
commit
d1b39b5843
13 changed files with 28 additions and 35 deletions
|
|
@ -385,7 +385,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(wl_display_get_event_loop(display), NULL);
|
||||
if (!wlr) {
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue