mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	output-management: use same types as wlr_output
This is more correct and also makes things much nicer for languages that don't allow implicit conversions between these types.
This commit is contained in:
		
							parent
							
								
									098094c5cb
								
							
						
					
					
						commit
						d6890cb847
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -50,12 +50,12 @@ struct wlr_output_head_v1_state {
 | 
			
		|||
	bool enabled;
 | 
			
		||||
	struct wlr_output_mode *mode;
 | 
			
		||||
	struct {
 | 
			
		||||
		int width, height;
 | 
			
		||||
		int refresh;
 | 
			
		||||
		int32_t width, height;
 | 
			
		||||
		int32_t refresh;
 | 
			
		||||
	} custom_mode;
 | 
			
		||||
	int32_t x, y;
 | 
			
		||||
	enum wl_output_transform transform;
 | 
			
		||||
	double scale;
 | 
			
		||||
	float scale;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct wlr_output_head_v1 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue