mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Send new output to clients when changing transform
This commit is contained in:
		
							parent
							
								
									bf2b58eb6d
								
							
						
					
					
						commit
						dac0233804
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -184,6 +184,12 @@ void wlr_output_transform(struct wlr_output *output,
 | 
				
			||||||
		enum wl_output_transform transform) {
 | 
							enum wl_output_transform transform) {
 | 
				
			||||||
	output->impl->transform(output, transform);
 | 
						output->impl->transform(output, transform);
 | 
				
			||||||
	wlr_output_update_matrix(output);
 | 
						wlr_output_update_matrix(output);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// TODO: only send geometry and done
 | 
				
			||||||
 | 
						struct wl_resource *resource;
 | 
				
			||||||
 | 
						wl_resource_for_each(resource, &output->wl_resources) {
 | 
				
			||||||
 | 
							wl_output_send_to_resource(resource);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void wlr_output_set_position(struct wlr_output *output, int32_t lx,
 | 
					void wlr_output_set_position(struct wlr_output *output, int32_t lx,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue