From dd24991c9ef26bcd215e0601ca3a86a36e72a64b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 7 Jun 2023 14:15:44 +0200 Subject: 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. --- include/backend/wayland.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index fd056403..1e731469 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -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; -- cgit v1.2.3