[BUGFIX] Mistyped current. String old required for old workspace extraction

This commit is contained in:
Shemyakin Roman
2016-12-29 18:46:41 +03:00
parent 741d005d29
commit 9bfa1b6074

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);