Remove unused variable in Workspaces::updateWindows
parent
ddacb111a9
commit
133dfc2e85
|
@ -266,7 +266,6 @@ bool Workspaces::hasFlag(const Json::Value &node, const std::string &flag) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Workspaces::updateWindows(const Json::Value &node, std::string &windows) {
|
void Workspaces::updateWindows(const Json::Value &node, std::string &windows) {
|
||||||
auto format = config_["window-format"].asString();
|
|
||||||
if ((node["type"].asString() == "con" || node["type"].asString() == "floating_con") &&
|
if ((node["type"].asString() == "con" || node["type"].asString() == "floating_con") &&
|
||||||
node["name"].isString()) {
|
node["name"].isString()) {
|
||||||
std::string title = g_markup_escape_text(node["name"].asString().c_str(), -1);
|
std::string title = g_markup_escape_text(node["name"].asString().c_str(), -1);
|
||||||
|
|
Loading…
Reference in New Issue