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:
Wim Taymans 2019-01-10 16:37:13 +01:00
parent c2f0dea0f5
commit b05297a5fb

View file

@ -134,7 +134,6 @@ static void client_update_permissions(void *object,
struct resource_data *data = pw_resource_get_user_data(resource);
struct pw_client *client = data->client;
pw_client_update_permissions(client, n_permissions, permissions);
pw_client_set_busy(client, false);
}
static const struct pw_client_proxy_methods client_methods = {