modules/sway/workspaces: clang-format fix
This commit is contained in:
		
							parent
							
								
									b365831839
								
							
						
					
					
						commit
						08c5df3633
					
				| 
						 | 
					@ -505,10 +505,8 @@ void Workspaces::onButtonReady(const Json::Value &node, Gtk::Button &button) {
 | 
				
			||||||
    // 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.
 | 
				
			||||||
    bool focused = node["focused"].asBool() ||
 | 
					    bool focused = node["focused"].asBool() ||
 | 
				
			||||||
      std::any_of(node["nodes"].begin(), node["nodes"].end(),
 | 
					                   std::any_of(node["nodes"].begin(), node["nodes"].end(),
 | 
				
			||||||
                  [](const auto &child) {
 | 
					                               [](const auto &child) { return child["focused"].asBool(); });
 | 
				
			||||||
                    return child["focused"].asBool();
 | 
					 | 
				
			||||||
                  });
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (focused) {
 | 
					    if (focused) {
 | 
				
			||||||
      button.show();
 | 
					      button.show();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue