Improve handling of layer surface output assignment

This commit is contained in:
Isaac Freund
2020-04-15 13:38:36 +02:00
parent b02f660475
commit 5bbfcab60e
2 changed files with 20 additions and 12 deletions

View File

@ -58,6 +58,7 @@ pub const Output = struct {
self.root = root;
self.wlr_output = wlr_output;
wlr_output.data = self;
for (self.layers) |*layer| {
layer.* = std.TailQueue(LayerSurface).init();