unset phony exe on client deletion if exe still exists

fix T1460
This commit is contained in:
Mike Blumenkrantz 2014-07-30 11:20:08 -04:00
parent 949a0eeb15
commit 119dfb1bd8
1 changed files with 5 additions and 1 deletions

View File

@ -1305,7 +1305,11 @@ _e_comp_x_hide(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Windo
hid = EINA_TRUE;
evas_object_hide(ec->frame);
if (!ec->internal)
e_object_del(E_OBJECT(ec));
{
if (ec->exe_inst && ec->exe_inst->exe)
ec->exe_inst->phony = 0;
e_object_del(E_OBJECT(ec));
}
}
if (hid)
_e_comp_x_focus_check(ec->comp);