forked from enlightenment/enlightenment
correct e_comp->new_client count for overrides in x compositor
This commit is contained in:
parent
2654b7e3e7
commit
d7c60da84f
|
@ -210,6 +210,8 @@ _e_comp_x_client_new_helper(E_Client *ec)
|
||||||
ec->take_focus = !starting;
|
ec->take_focus = !starting;
|
||||||
}
|
}
|
||||||
ec->new_client ^= ec->override;
|
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->w = ec->client.w = ec->comp_data->initial_attributes.w;
|
||||||
ec->h = ec->client.h = ec->comp_data->initial_attributes.h;
|
ec->h = ec->client.h = ec->comp_data->initial_attributes.h;
|
||||||
|
|
Loading…
Reference in New Issue