redo iconic setting for new clients

This commit is contained in:
Mike Blumenkrantz 2014-03-04 15:16:08 -05:00
parent 47ef5c5be1
commit 7b44add514
1 changed files with 3 additions and 9 deletions

View File

@ -3618,18 +3618,12 @@ e_client_iconify(E_Client *ec)
E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
if (ec->shading || ec->iconic) return;
ec->iconic = 1;
ec->take_focus = 0;
ec->want_focus = ec->take_focus = 0;
ec->changes.visible = 0;
if (ec->fullscreen)
ec->desk->fullscreen_clients = eina_list_remove(ec->desk->fullscreen_clients, ec);
e_client_comp_hidden_set(ec, 1);
if (ec->new_client)
{
ec->visible = 0;
ec->changes.visible = 0;
EC_CHANGED(ec);
e_comp_object_signal_emit(ec->frame, "e,action,iconify", "e");
}
else
if (!ec->new_client)
{
_e_client_revert_focus(ec);
evas_object_hide(ec->frame);