mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/wayland: take existing wl_display in wlr_wl_backend_create()
This allows compositors to use an existing wl_display, to integrate wlroots with an existing toolkit.
This commit is contained in:
parent
664ec59095
commit
dd24991c9e
3 changed files with 20 additions and 11 deletions
|
|
@ -30,6 +30,7 @@ struct wlr_wl_backend {
|
|||
|
||||
/* remote state */
|
||||
struct wl_display *remote_display;
|
||||
bool own_remote_display;
|
||||
struct wl_event_source *remote_display_src;
|
||||
struct wl_registry *registry;
|
||||
struct wl_compositor *compositor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue