Output: use separate scene trees for layers

This commit is contained in:
Isaac Freund
2023-02-01 21:47:52 +01:00
parent b38676f078
commit f4a8d6dcc9
6 changed files with 92 additions and 20 deletions

View File

@ -68,7 +68,7 @@ pub fn create(output: *Output, xwayland_surface: *wlr.XwaylandSurface) error{Out
const view = &node.view;
// TODO actually render xwayland windows, not just an empty tree.
const tree = try output.tree.createSceneTree();
const tree = try output.layers.views.createSceneTree();
view.init(output, tree, .{ .xwayland_view = .{
.view = view,