mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Fix coding style in output.c and xbm/tokenize.c
This commit is contained in:
		
							parent
							
								
									0413d7fa9a
								
							
						
					
					
						commit
						69e236932e
					
				
					 2 changed files with 15 additions and 8 deletions
				
			
		
							
								
								
									
										21
									
								
								src/output.c
									
										
									
									
									
								
							
							
						
						
									
										21
									
								
								src/output.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -196,8 +196,10 @@ output_unmanaged_for_each_surface(struct output *output,
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void render_unmanaged(struct output *output, pixman_region32_t *damage,
 | 
			
		||||
		struct wl_list *unmanaged) {
 | 
			
		||||
static void
 | 
			
		||||
render_unmanaged(struct output *output, pixman_region32_t *damage,
 | 
			
		||||
		struct wl_list *unmanaged)
 | 
			
		||||
{
 | 
			
		||||
	struct render_data data = {
 | 
			
		||||
		.damage = damage,
 | 
			
		||||
	};
 | 
			
		||||
| 
						 | 
				
			
			@ -241,9 +243,11 @@ output_view_for_each_popup_surface(struct output *output, struct view *view,
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
/* for sending frame done */
 | 
			
		||||
void output_layer_for_each_surface(struct output *output,
 | 
			
		||||
void
 | 
			
		||||
output_layer_for_each_surface(struct output *output,
 | 
			
		||||
		struct wl_list *layer_surfaces, surface_iterator_func_t iterator,
 | 
			
		||||
		void *user_data) {
 | 
			
		||||
		void *user_data)
 | 
			
		||||
{
 | 
			
		||||
	struct lab_layer_surface *layer_surface;
 | 
			
		||||
	wl_list_for_each(layer_surface, layer_surfaces, link) {
 | 
			
		||||
		struct wlr_layer_surface_v1 *wlr_layer_surface_v1 =
 | 
			
		||||
| 
						 | 
				
			
			@ -593,7 +597,8 @@ render_rootmenu(struct output *output, pixman_region32_t *output_damage)
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void output_layer_for_each_surface_toplevel(struct output *output,
 | 
			
		||||
void
 | 
			
		||||
output_layer_for_each_surface_toplevel(struct output *output,
 | 
			
		||||
		struct wl_list *layer_surfaces, surface_iterator_func_t iterator,
 | 
			
		||||
		void *user_data)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			@ -607,8 +612,10 @@ void output_layer_for_each_surface_toplevel(struct output *output,
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void render_layer_toplevel(struct output *output,
 | 
			
		||||
		pixman_region32_t *damage, struct wl_list *layer_surfaces) {
 | 
			
		||||
static void
 | 
			
		||||
render_layer_toplevel(struct output *output, pixman_region32_t *damage,
 | 
			
		||||
		struct wl_list *layer_surfaces)
 | 
			
		||||
{
 | 
			
		||||
	struct render_data data = {
 | 
			
		||||
		.damage = damage,
 | 
			
		||||
	};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,7 +53,7 @@ get_identifier_token()
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
get_number_token()
 | 
			
		||||
get_number_token(void)
 | 
			
		||||
{
 | 
			
		||||
	struct token *token = tokens + nr_tokens - 1;
 | 
			
		||||
	token->name[token->pos] = current_buffer_position[0];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue