mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Move docblock and fix indenting of switch/case.
This commit is contained in:
		
							parent
							
								
									e67f354333
								
							
						
					
					
						commit
						abcad0ece9
					
				
					 2 changed files with 23 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -167,6 +167,10 @@ const char *view_get_instance(struct sway_view *view);
 | 
			
		|||
void view_configure(struct sway_view *view, double ox, double oy, int width,
 | 
			
		||||
	int height);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Configure the view's position and size based on the swayc's position and
 | 
			
		||||
 * size, taking borders into consideration.
 | 
			
		||||
 */
 | 
			
		||||
void view_autoconfigure(struct sway_view *view);
 | 
			
		||||
 | 
			
		||||
void view_set_activated(struct sway_view *view, bool activated);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -74,10 +74,6 @@ void view_configure(struct sway_view *view, double ox, double oy, int width,
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Configure the view's position and size based on the swayc's position and
 | 
			
		||||
 * size, taking borders into consideration.
 | 
			
		||||
 */
 | 
			
		||||
void view_autoconfigure(struct sway_view *view) {
 | 
			
		||||
	if (!sway_assert(view->swayc,
 | 
			
		||||
				"Called view_autoconfigure() on a view without a swayc")) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue