mirror of
				https://github.com/ItsDrike/hyprland-dwindle-autogroup.git
				synced 2025-10-31 16:26:35 +00:00 
			
		
		
		
	Add missing return statements on ignores
This commit is contained in:
		
							parent
							
								
									9e665e359c
								
							
						
					
					
						commit
						a9eedb1d72
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -63,6 +63,7 @@ void toggleGroup(std::string args) | |||
| 
 | ||||
|     if (!PNODE->pParent) { | ||||
|         Debug::log(LOG, "Ignoring autogroup for a solitary window"); | ||||
|         return; | ||||
|     } | ||||
| 
 | ||||
|     std::deque<SDwindleNodeData*> newGroupMembers; | ||||
|  | @ -74,6 +75,7 @@ void toggleGroup(std::string args) | |||
|     for (auto& n : newGroupMembers) { | ||||
|         if (n->pWindow->m_sGroupData.pNextWindow) { | ||||
|             Debug::log(LOG, "Ignoring autogroup for nested groups"); | ||||
|             return; | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue