diff options
author | Simon Ser <contact@emersion.fr> | 2023-06-07 14:15:44 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-08-16 16:29:09 +0200 |
commit | dd24991c9ef26bcd215e0601ca3a86a36e72a64b (patch) | |
tree | 6a689b939f0438794beeaf6cdd3c25c1b6ebdf3e /include/backend | |
parent | 664ec59095996662ad7c158c64a2d5dfc50f58a1 (diff) |
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.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/wayland.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |