Merge pull request #4209 from notpeelz/fix-formatting

Fix CI clang-format
This commit is contained in:
Alexis Rouillard
2025-06-22 08:21:38 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@ -494,7 +494,7 @@ std::string Workspaces::trimWorkspaceName(std::string name) {
return name; return name;
} }
bool is_focused_recursive(const Json::Value& node) { bool is_focused_recursive(const Json::Value &node) {
// If a workspace has a focused container then get_tree will say // If a workspace has a focused container then get_tree will say
// that the workspace itself isn't focused. Therefore we need to // that the workspace itself isn't focused. Therefore we need to
// check if any of its nodes are focused as well. // check if any of its nodes are focused as well.
@ -504,13 +504,13 @@ bool is_focused_recursive(const Json::Value& node) {
return true; return true;
} }
for (const auto& child : node["nodes"]) { for (const auto &child : node["nodes"]) {
if (is_focused_recursive(child)) { if (is_focused_recursive(child)) {
return true; return true;
} }
} }
for (const auto& child : node["floating_nodes"]) { for (const auto &child : node["floating_nodes"]) {
if (is_focused_recursive(child)) { if (is_focused_recursive(child)) {
return true; return true;
} }