Root: rename field outputs to active_outputs

Although this list only including active outputs was already documented,
making this explicit in its name reduces confusion and debugging
overhead.
This commit is contained in:
tiosgz
2023-08-03 15:12:56 +00:00
parent bbd21c1637
commit 57186fced3
6 changed files with 30 additions and 30 deletions

View File

@ -258,7 +258,7 @@ pub fn setTheme(self: *Self, theme: ?[*:0]const u8, _size: ?u32) !void {
self.xcursor_manager = try wlr.XcursorManager.create(theme, size);
// For each output, ensure a theme of the proper scale is loaded
var it = server.root.outputs.first;
var it = server.root.active_outputs.first;
while (it) |node| : (it = node.next) {
const wlr_output = node.data.wlr_output;
self.xcursor_manager.load(wlr_output.scale) catch