fix(sway/workspaces): window-rewrite: do not check for window-format

Remove check for unused window-format option.

Fixes #3797.
This commit is contained in:
mliszcz
2025-12-02 17:13:39 +01:00
parent 161367d961
commit e362550e27
2 changed files with 1 additions and 2 deletions

View File

@ -331,7 +331,7 @@ auto Workspaces::update() -> void {
}
std::string output = (*it)["name"].asString();
std::string windows = "";
if (config_["window-format"].isString()) {
if (config_["window-rewrite"].isObject()) {
updateWindows((*it), windows);
}
if (config_["format"].isString()) {