show non-new x11 clients immediately when changing Withdrawn -> Normal

ref T2950
This commit is contained in:
Mike Blumenkrantz 2015-12-17 11:57:48 -05:00
parent 2d09b8ecac
commit 4c9527cf14
1 changed files with 6 additions and 1 deletions

View File

@ -3449,7 +3449,12 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
if (ec->icccm.state == ECORE_X_WINDOW_STATE_HINT_WITHDRAWN)
ec->ignored = 1, ec->visible = 0;
else
ec->changes.visible = ec->visible = 1;
{
ec->visible = 1;
ec->changes.visible = ec->new_client;
if (!ec->new_client)
evas_object_show(ec->frame);
}
}
ec->icccm.accepts_focus = accepts_focus;
ec->icccm.urgent = is_urgent;