mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Remove bad assertion in container_handle_fullscreen_reparent
The assertion could trigger when called from workspace_wrap_children.
This commit is contained in:
		
							parent
							
								
									22237e0b42
								
							
						
					
					
						commit
						8995694a2f
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1182,10 +1182,7 @@ list_t *container_get_current_siblings(struct sway_container *container) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
void container_handle_fullscreen_reparent(struct sway_container *con) {
 | 
			
		||||
	if (!sway_assert(con->workspace, "Expected con to have a workspace")) {
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
	if (con->fullscreen_mode != FULLSCREEN_WORKSPACE ||
 | 
			
		||||
	if (con->fullscreen_mode != FULLSCREEN_WORKSPACE || !con->workspace ||
 | 
			
		||||
			con->workspace->fullscreen == con) {
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue