Fixing failed build: Parts of a struct were initialised in wrong order, C99-style designated initialisers did not prevent this from causing an error.
This commit is contained in:
@@ -242,8 +242,8 @@ std::vector<output_t> I3Connection::get_outputs() const {
|
|||||||
outputs.push_back({
|
outputs.push_back({
|
||||||
.name = name.asString(),
|
.name = name.asString(),
|
||||||
.active = active.asBool(),
|
.active = active.asBool(),
|
||||||
.rect = parse_rect_from_json(rect),
|
|
||||||
.current_workspace = (current_workspace.isNull() ? std::string() : current_workspace.asString()),
|
.current_workspace = (current_workspace.isNull() ? std::string() : current_workspace.asString()),
|
||||||
|
.rect = parse_rect_from_json(rect),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user