mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2096 from kupospelov/fix-title-update
Fix view title update order
This commit is contained in:
		
						commit
						8e3d19aad2
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -790,8 +790,10 @@ void view_update_title(struct sway_view *view, bool force) {
 | 
				
			||||||
		view->swayc->formatted_title = NULL;
 | 
							view->swayc->formatted_title = NULL;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	container_calculate_title_height(view->swayc);
 | 
						container_calculate_title_height(view->swayc);
 | 
				
			||||||
	container_update_title_textures(view->swayc);
 | 
					 | 
				
			||||||
	config_update_font_height(false);
 | 
						config_update_font_height(false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Update title after the global font height is updated
 | 
				
			||||||
 | 
						container_update_title_textures(view->swayc);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static bool find_by_mark_iterator(struct sway_container *con,
 | 
					static bool find_by_mark_iterator(struct sway_container *con,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue