correct e_comp->new_client count for overrides in x compositor

This commit is contained in:
Mike Blumenkrantz 2015-06-25 19:29:24 -04:00
parent 2654b7e3e7
commit d7c60da84f
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,8 @@ _e_comp_x_client_new_helper(E_Client *ec)
ec->take_focus = !starting;
}
ec->new_client ^= ec->override;
if (!ec->new_client)
e_comp->new_clients--;
ec->w = ec->client.w = ec->comp_data->initial_attributes.w;
ec->h = ec->client.h = ec->comp_data->initial_attributes.h;