Adapted Client to new source in 0.54
This commit is contained in:
@@ -12,7 +12,6 @@ void from_json(const json& j, Client& client) {
|
||||
j.at("size").get_to(client.size);
|
||||
j.at("workspace").get_to(client.workspace);
|
||||
j.at("floating").get_to(client.floating);
|
||||
j.at("pseudo").get_to(client.pseudo);
|
||||
j.at("monitor").get_to(client.monitor);
|
||||
j.at("class").get_to(client.className); // Maps "class" JSON field to className
|
||||
j.at("title").get_to(client.title);
|
||||
@@ -23,6 +22,7 @@ void from_json(const json& j, Client& client) {
|
||||
j.at("pinned").get_to(client.pinned);
|
||||
j.at("fullscreen").get_to(client.fullscreen);
|
||||
j.at("fullscreenClient").get_to(client.fullscreenClient);
|
||||
j.at("overFullscreen").get_to(client.overFullscreen);
|
||||
j.at("swallowing").get_to(client.swallowing);
|
||||
j.at("focusHistoryID").get_to(client.focusHistory);
|
||||
j.at("inhibitingIdle").get_to(client.inhibitingIdle);
|
||||
|
||||
Reference in New Issue
Block a user