mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	compositor: fix wlr_surface_set_role return value docs
It returns a bool, not an int.
This commit is contained in:
		
							parent
							
								
									2e06ff5688
								
							
						
					
					
						commit
						f8ae564906
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -185,8 +185,8 @@ typedef void (*wlr_surface_iterator_func_t)(struct wlr_surface *surface,
 | 
			
		|||
	int sx, int sy, void *data);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Set the lifetime role for this surface. Returns 0 on success or -1 if the
 | 
			
		||||
 * role cannot be set.
 | 
			
		||||
 * Set the lifetime role for this surface. Returns true on success or false if
 | 
			
		||||
 * the role cannot be set.
 | 
			
		||||
 */
 | 
			
		||||
bool wlr_surface_set_role(struct wlr_surface *surface,
 | 
			
		||||
		const struct wlr_surface_role *role, void *role_data,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue