Layout: eliminate "self" naming convention

This commit is contained in:
Isaac Freund
2024-03-14 12:02:32 +01:00
parent dabf7e9e97
commit aadb92dc0b
3 changed files with 51 additions and 51 deletions

View File

@ -77,9 +77,9 @@ pub fn sendLayoutCmd(
if (mem.eql(u8, layout.namespace, target_namespace)) break layout;
} else return;
if (layout.layout.getVersion() >= 2) {
layout.layout.sendUserCommandTags(output.pending.tags);
if (layout.layout_v3.getVersion() >= 2) {
layout.layout_v3.sendUserCommandTags(output.pending.tags);
}
layout.layout.sendUserCommand(args[2]);
layout.layout_v3.sendUserCommand(args[2]);
if (layout == output.layout) server.root.applyPending();
}