mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Don't damage views if they're hidden by a fullscreen view.
This commit is contained in:
		
							parent
							
								
									c685ef081f
								
							
						
					
					
						commit
						a44d016e2b
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -469,6 +469,12 @@ void output_damage_view(struct sway_output *output, struct sway_view *view,
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						struct sway_container *workspace = container_parent(view->swayc,
 | 
				
			||||||
 | 
								C_WORKSPACE);
 | 
				
			||||||
 | 
						if (workspace->sway_workspace->fullscreen && !view->is_fullscreen) {
 | 
				
			||||||
 | 
							return;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	struct damage_data data = {
 | 
						struct damage_data data = {
 | 
				
			||||||
		.output = output,
 | 
							.output = output,
 | 
				
			||||||
		.whole = whole,
 | 
							.whole = whole,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue