From db31ccc5de98425173a0d710d5707c6d4c8b7468 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 24 Jan 2014 17:38:27 -0500 Subject: [PATCH] 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 --- src/bin/e_comp_x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index ed314dbd4..35c52d909 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -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;