Skip to content

Commit dfe121a

Browse files
committed
Fixing failed build: Parts of a struct were initialised in wrong order, C99-style designated initialisers did not prevent this from causing an error.
1 parent 26dc81a commit dfe121a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ipc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ std::vector<output_t> I3Connection::get_outputs() const {
242242
outputs.push_back({
243243
.name = name.asString(),
244244
.active = active.asBool(),
245-
.rect = parse_rect_from_json(rect),
246245
.current_workspace = (current_workspace.isNull() ? std::string() : current_workspace.asString()),
246+
.rect = parse_rect_from_json(rect),
247247
});
248248
}
249249

0 commit comments

Comments
 (0)