mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: Don't let the wlr_output handle the fullscreen view in case of layer-shell overlays
Otherwise the overlays will no tbe drawn. Closes: #1300
This commit is contained in:
		
							parent
							
								
									8beeb88309
								
							
						
					
					
						commit
						175ccc2517
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -459,7 +459,8 @@ static void render_output(struct roots_output *output) {
 | 
			
		|||
			output_box->y;
 | 
			
		||||
		view_move(view, view_x, view_y);
 | 
			
		||||
 | 
			
		||||
		if (has_standalone_surface(view)) {
 | 
			
		||||
		if (has_standalone_surface(view) &&
 | 
			
		||||
				wl_list_empty(&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY])) {
 | 
			
		||||
			wlr_output_set_fullscreen_surface(wlr_output, view->wlr_surface);
 | 
			
		||||
		} else {
 | 
			
		||||
			wlr_output_set_fullscreen_surface(wlr_output, NULL);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue