do not show iconic x11 clients on on icccm hint change

this is supposed to handle the case of state changing from withdrawn
to normal, but attempting to show an iconic client in this case results
in dead windows on screen

fix T5444
This commit is contained in:
Mike Blumenkrantz 2017-05-01 13:26:03 -04:00
parent de0b9edee0
commit d81818b309
1 changed files with 2 additions and 1 deletions

View File

@ -3630,7 +3630,8 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
{
ec->visible = 1;
ec->changes.visible = ec->new_client;
if (!ec->new_client)
if ((!ec->new_client) &&
(ec->icccm.state == ECORE_X_WINDOW_STATE_HINT_NORMAL))
evas_object_show(ec->frame);
}
}