From dfe121ab090bf11fa8f6f2d1e47dd233e811ecee Mon Sep 17 00:00:00 2001 From: mox Date: Tue, 19 Apr 2016 22:31:44 +0200 Subject: [PATCH] Fixing failed build: Parts of a struct were initialised in wrong order, C99-style designated initialisers did not prevent this from causing an error. --- src/ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc.cpp b/src/ipc.cpp index fbf22ca..9974e62 100644 --- a/src/ipc.cpp +++ b/src/ipc.cpp @@ -242,8 +242,8 @@ std::vector I3Connection::get_outputs() const { outputs.push_back({ .name = name.asString(), .active = active.asBool(), - .rect = parse_rect_from_json(rect), .current_workspace = (current_workspace.isNull() ? std::string() : current_workspace.asString()), + .rect = parse_rect_from_json(rect), }); }