From dfe121ab090bf11fa8f6f2d1e47dd233e811ecee Mon Sep 17 00:00:00 2001 From: mox Date: Tue, 19 Apr 2016 22:31:44 +0200 Subject: [PATCH 1/2] 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), }); } From 54ba4205e6c9e58938c7c08b921be2013076ca95 Mon Sep 17 00:00:00 2001 From: mox Date: Tue, 19 Apr 2016 22:34:11 +0200 Subject: [PATCH 2/2] Minor documentation fix. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81ee154..888cc0b 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Then just type this in your `CMakeLists.txt`: add_subdirectory(i3ipc++) include_directories(${I3IPCpp_INCLUDE_DIRS}) -link_directories(${I3IPCpp_LIBRARY_DIRS) +link_directories(${I3IPCpp_LIBRARY_DIRS}) ... ```