mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Convert toplevel coordinates to output-local
This commit is contained in:
		
							parent
							
								
									8392eae40f
								
							
						
					
					
						commit
						787f08da7f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -194,7 +194,8 @@ static void render_view_toplevels(struct sway_view *view,
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
	// Render all toplevels without descending into popups
 | 
						// Render all toplevels without descending into popups
 | 
				
			||||||
	output_surface_for_each_surface(output, view->surface,
 | 
						output_surface_for_each_surface(output, view->surface,
 | 
				
			||||||
			view->swayc->current.view_x, view->swayc->current.view_y,
 | 
								view->swayc->current.view_x - output->wlr_output->lx,
 | 
				
			||||||
 | 
								view->swayc->current.view_y - output->wlr_output->ly,
 | 
				
			||||||
			render_surface_iterator, &data);
 | 
								render_surface_iterator, &data);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue