mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	client: only set client active once
We already set the client active when we update the properties and only when there were actually any updates.
This commit is contained in:
		
							parent
							
								
									c2f0dea0f5
								
							
						
					
					
						commit
						b05297a5fb
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -134,7 +134,6 @@ static void client_update_permissions(void *object,
 | 
				
			||||||
	struct resource_data *data = pw_resource_get_user_data(resource);
 | 
						struct resource_data *data = pw_resource_get_user_data(resource);
 | 
				
			||||||
	struct pw_client *client = data->client;
 | 
						struct pw_client *client = data->client;
 | 
				
			||||||
	pw_client_update_permissions(client, n_permissions, permissions);
 | 
						pw_client_update_permissions(client, n_permissions, permissions);
 | 
				
			||||||
	pw_client_set_busy(client, false);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct pw_client_proxy_methods client_methods = {
 | 
					static const struct pw_client_proxy_methods client_methods = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue