mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix crash when using multiple outputs
This commit is contained in:
		
							parent
							
								
									e605dc43bb
								
							
						
					
					
						commit
						00cac22038
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -756,7 +756,7 @@ void config_update_font_height(bool recalculate) {
 | 
				
			||||||
	for (int i = 0; i < root_container.children->length; ++i) {
 | 
						for (int i = 0; i < root_container.children->length; ++i) {
 | 
				
			||||||
		struct sway_container *output = root_container.children->items[i];
 | 
							struct sway_container *output = root_container.children->items[i];
 | 
				
			||||||
		for (int j = 0; j < output->children->length; ++j) {
 | 
							for (int j = 0; j < output->children->length; ++j) {
 | 
				
			||||||
			struct sway_container *ws = output->children->items[i];
 | 
								struct sway_container *ws = output->children->items[j];
 | 
				
			||||||
			container_for_each_descendant_dfs(ws->sway_workspace->floating,
 | 
								container_for_each_descendant_dfs(ws->sway_workspace->floating,
 | 
				
			||||||
					find_font_height_iterator, &recalculate);
 | 
										find_font_height_iterator, &recalculate);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue