Output: use separate scene trees for layers

This commit is contained in:
Isaac Freund
2023-02-28 14:55:58 +01:00
parent b38676f078
commit f4a8d6dcc9
6 changed files with 92 additions and 20 deletions
+1 -1
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,