mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Use current state when rendering transient containers
This commit is contained in:
		
							parent
							
								
									f23588de3c
								
							
						
					
					
						commit
						88317b59ce
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -962,8 +962,9 @@ void output_render(struct sway_output *output, struct timespec *when,
 | 
			
		|||
					fullscreen_con->current.focused);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		for (int i = 0; i < workspace->floating->length; ++i) {
 | 
			
		||||
			struct sway_container *floater = workspace->floating->items[i];
 | 
			
		||||
		for (int i = 0; i < workspace->current.floating->length; ++i) {
 | 
			
		||||
			struct sway_container *floater =
 | 
			
		||||
				workspace->current.floating->items[i];
 | 
			
		||||
			if (container_is_transient_for(floater, fullscreen_con)) {
 | 
			
		||||
				render_floating_container(output, damage, floater);
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue