modules/sway/workspaces: clang-format fix
This commit is contained in:
parent
b365831839
commit
08c5df3633
|
@ -506,9 +506,7 @@ void Workspaces::onButtonReady(const Json::Value &node, Gtk::Button &button) {
|
|||
// check if any of its nodes are focused as well.
|
||||
bool focused = node["focused"].asBool() ||
|
||||
std::any_of(node["nodes"].begin(), node["nodes"].end(),
|
||||
[](const auto &child) {
|
||||
return child["focused"].asBool();
|
||||
});
|
||||
[](const auto &child) { return child["focused"].asBool(); });
|
||||
|
||||
if (focused) {
|
||||
button.show();
|
||||
|
|
Loading…
Reference in New Issue