After efl upgrade, e gets a surface commit message before receiving a surface attach message.
For this, calling e_client_unignore time is faster than previous efl version.
This patch fixed this problem.
Change-Id: Ia9a315f69155648b3dc0227238a2b71a040de4fc
Eina_List *l, *ll;
E_Comp_Wl_Buffer_Viewport *vp = &ec->comp_data->scaler.buffer_viewport;
- if ((ec->ignored) &&
- (ec->comp_data->shell.surface || ec->internal))
+ if (ec->ignored)
{
- EC_CHANGED(ec);
- ec->new_client = 1;
- e_comp->new_clients++;
- e_client_unignore(ec);
+ if ((ec->internal) ||
+ (ec->comp_data->shell.surface && state->new_attach))
+ {
+ EC_CHANGED(ec);
+ ec->new_client = 1;
+ e_comp->new_clients++;
+ e_client_unignore(ec);
+ }
}
if (vp->buffer.transform != state->buffer_viewport.buffer.transform)