Remove unused variable in Workspaces::updateWindows

master
Raphael Nestler 2024-04-15 13:50:41 +02:00
parent ddacb111a9
commit 133dfc2e85
1 changed files with 0 additions and 1 deletions

View File

@ -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) {
auto format = config_["window-format"].asString();
if ((node["type"].asString() == "con" || node["type"].asString() == "floating_con") &&
node["name"].isString()) {
std::string title = g_markup_escape_text(node["name"].asString().c_str(), -1);