mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix rendering of nested tabs
The C_CONTAINER check needs to apply to C_VIEW as well.
This commit is contained in:
		
							parent
							
								
									ed775103c8
								
							
						
					
					
						commit
						3c4196b986
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -126,7 +126,7 @@ static void copy_pending_state(struct sway_container *container,
 | 
			
		|||
		// Set focused_inactive_child to the direct tiling child
 | 
			
		||||
		struct sway_container *focus =
 | 
			
		||||
			seat_get_focus_inactive_tiling(seat, container);
 | 
			
		||||
		if (focus && focus->type == C_CONTAINER) {
 | 
			
		||||
		if (focus && focus->type > C_WORKSPACE) {
 | 
			
		||||
			while (focus->parent->type != C_WORKSPACE) {
 | 
			
		||||
				focus = focus->parent;
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue