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}) ... ``` 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), }); }