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
|
|
@ -41,7 +41,7 @@ struct wlr_backend {
|
|||
* The multi-backend will be destroyed if one of the primary underlying
|
||||
* backends is destroyed (e.g. if the primary DRM device is unplugged).
|
||||
*/
|
||||
struct wlr_backend *wlr_backend_autocreate(struct wl_display *display,
|
||||
struct wlr_backend *wlr_backend_autocreate(struct wl_event_loop *loop,
|
||||
struct wlr_session **session_ptr);
|
||||
/**
|
||||
* Start the backend. This may signal new_input or new_output immediately, but
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue