unset new_client flag for override windows

this flag is used to block most cwm actions until after the client is past its first loop iteration. overrides, however, don't need to be blocked and will in fact break sometimes (fuck you gtk) as a result

it's worth noting that showing/hiding overrides extremely fast will still break the compositor a little in that I'm not going to render a single frame while constantly playing edje hide/show animations which are longer than the actual render. with animations disabled, however, rendering occurs as expected.

T831
This commit is contained in:
Mike Blumenkrantz 2014-01-24 17:38:27 -05:00
parent 6044fd8a78
commit db31ccc5de
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ _e_comp_x_client_new_helper(E_Client *ec)
EC_CHANGED(ec);
ec->take_focus = !starting;
}
ec->new_client ^= ec->override;
ec->w = ec->client.w = ec->comp_data->initial_attributes.w;
ec->h = ec->client.h = ec->comp_data->initial_attributes.h;
ec->changes.size = 1;