mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix focus related damage
When you have an unfocused container (so one view is focused_inactive), and you focus any other view in that container, the view with focused_inactive was not damaged. This is because we damaged the previous focus and new focus, but needed to damage the parent of the new focus.
This commit is contained in:
		
							parent
							
								
									8cc26130a6
								
							
						
					
					
						commit
						0bd41a0dae
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -663,7 +663,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		seat_send_focus(container, seat);
 | 
			
		||||
		container_damage_whole(container);
 | 
			
		||||
		container_damage_whole(container->parent);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// clean up unfocused empty workspace on new output
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue