Merge pull request #14 from ramon93i7/dev

[BUGFIX] Mistyped "current".
This commit is contained in:
Sergey Naumov
2016-12-29 19:25:13 +03:00
committed by GitHub

View File

@@ -294,7 +294,7 @@ connection::connection(const std::string& socket_path) : m_main_socket(i3_conne
I3IPC_DEBUG("WORKSPACE " << change) I3IPC_DEBUG("WORKSPACE " << change)
Json::Value current = root["current"]; Json::Value current = root["current"];
Json::Value old = root["current"]; Json::Value old = root["old"];
if (!current.isNull()) { if (!current.isNull()) {
ev.current = parse_workspace_from_json(current); ev.current = parse_workspace_from_json(current);