aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-07 14:35:26 +0200
committerSimon Ser <contact@emersion.fr>2023-08-16 16:39:52 +0200
commit8678633fc9772940a3b8b59f6caa3603a13cf5e3 (patch)
treee5a4902b2a05da97924e4419c27a467b16602876 /include/backend
parent4f888861997ee7314fde868eede6b2474a299679 (diff)
backend/wayland: add wlr_wl_output_create_from_surface()
By using this function, a compositor can display a wlroots compositor in a sub-surface, for instance.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/wayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index f28d1083..938e3cf7 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -84,6 +84,7 @@ struct wlr_wl_output {
struct wl_list link;
struct wl_surface *surface;
+ bool own_surface;
struct wl_callback *frame_callback;
struct xdg_surface *xdg_surface;
struct xdg_toplevel *xdg_toplevel;