cleanup ordering of output code and remove duplicate call to add to the

output_layout
This commit is contained in:
Squibid 2025-10-26 22:16:20 -04:00
parent cb947c15e3
commit db3020f370
2 changed files with 2 additions and 7 deletions

View file

@ -37,10 +37,6 @@ pub fn create(wlr_output: *wlr.Output) *Output {
std.log.debug("adding output: {s}", .{output.wlr_output.name});
// I don't think we need the result of this
const layout_output = try server.root.output_layout.addAuto(wlr_output);
server.root.scene_output_layout.addOutput(layout_output, output.scene_output);
return output;
}