mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix nitpick
This commit is contained in:
		
							parent
							
								
									b0a5f3a25f
								
							
						
					
					
						commit
						ce78f6770e
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -229,13 +229,13 @@ static void render_saved_view(struct sway_view *view,
 | 
			
		|||
		return;
 | 
			
		||||
	}
 | 
			
		||||
	struct wlr_box box = {
 | 
			
		||||
		.x = view->swayc->current.view_x - output->swayc->current.swayc_x,
 | 
			
		||||
		.y = view->swayc->current.view_y - output->swayc->current.swayc_y,
 | 
			
		||||
		.x = view->swayc->current.view_x - output->swayc->current.swayc_x -
 | 
			
		||||
			view->saved_geometry.x,
 | 
			
		||||
		.y = view->swayc->current.view_y - output->swayc->current.swayc_y -
 | 
			
		||||
			view->saved_geometry.y,
 | 
			
		||||
		.width = view->saved_buffer_width,
 | 
			
		||||
		.height = view->saved_buffer_height,
 | 
			
		||||
	};
 | 
			
		||||
	box.x -= view->saved_geometry.x;
 | 
			
		||||
	box.y -= view->saved_geometry.y;
 | 
			
		||||
 | 
			
		||||
	struct wlr_box output_box = {
 | 
			
		||||
		.width = output->swayc->current.swayc_width,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue