mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
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.
This commit is contained in:
parent
4f88886199
commit
8678633fc9
3 changed files with 89 additions and 30 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue