river: clean up some uneeded TODOs

This commit is contained in:
Isaac Freund
2023-03-04 20:52:26 +01:00
parent f5f9b526a0
commit ea4e589fdc
4 changed files with 0 additions and 9 deletions

View File

@ -740,8 +740,6 @@ fn processOutputConfig(
}
fn currentOutputConfig(self: *Self) !*wlr.OutputConfigurationV1 {
// TODO there no real reason this needs to allocate memory every time it is called.
// consider improving this wlroots api or reimplementing in zig-wlroots/river.
const config = try wlr.OutputConfigurationV1.create();
// this destroys all associated config heads as well
errdefer config.destroy();