mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #792 from acrisci/feature/render-focused-stack-children-focused
Render focused stack/tab children focused
This commit is contained in:
		
						commit
						d03266a77a
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -281,7 +281,9 @@ void update_tabbed_stacked_titlebars(swayc_t *c, cairo_t *cr, struct wlc_geometr
 | 
			
		|||
			update_tabbed_stacked_titlebars(child, cr, g, focused, focused_inactive);
 | 
			
		||||
		}
 | 
			
		||||
	} else {
 | 
			
		||||
		if (focused == c) {
 | 
			
		||||
		bool is_child_of_focused = swayc_is_child_of(c, get_focused_container(&root_container));
 | 
			
		||||
 | 
			
		||||
		if (focused == c || is_child_of_focused) {
 | 
			
		||||
			render_title_bar(c, cr, g, &config->border_colors.focused);
 | 
			
		||||
		} else if (focused_inactive == c) {
 | 
			
		||||
			render_title_bar(c, cr, g, &config->border_colors.focused_inactive);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue