pid_t pid;
if (!ec) return EINA_FALSE;
+ if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE;
pid = ec->netwm.pid;
if (pid <= 0) return EINA_FALSE;
{
E_Event_Client *ev;
E_Client *ec;
+ E_Process *pinfo;
pid_t pid;
ev = event;
if (!ec) return ECORE_CALLBACK_PASS_ON;
pid = ec->netwm.pid;
+ pinfo = _e_process_find(_e_process_manager, pid);
+ if (!pinfo)
+ {
+ Eina_Bool ret = EINA_FALSE;
+ ret = _e_process_client_info_add(ec);
+ if (!ret)
+ return ECORE_CALLBACK_PASS_ON;
+ }
// check all ECs of its pid, if yes, freeze
if (_e_process_freeze_condition_check(pid))
{
E_Event_Client *ev;
E_Client *ec;
+ E_Process *pinfo;
pid_t pid;
ev = event;
if (!ec) return ECORE_CALLBACK_PASS_ON;
pid = ec->netwm.pid;
+ pinfo = _e_process_find(_e_process_manager, pid);
+ if (!pinfo)
+ {
+ Eina_Bool ret = EINA_FALSE;
+ ret = _e_process_client_info_add(ec);
+ if (!ret)
+ return ECORE_CALLBACK_PASS_ON;
+ }
+
if (ec->visible)
_e_process_thaw(pid);
{
E_Event_Client *ev;
E_Client *ec;
+ E_Process *pinfo;
pid_t pid;
Eina_Bool visible;
if (!ec) return ECORE_CALLBACK_PASS_ON;
pid = ec->netwm.pid;
+ pinfo = _e_process_find(_e_process_manager, pid);
+ if (!pinfo)
+ {
+ Eina_Bool ret = EINA_FALSE;
+ ret = _e_process_client_info_add(ec);
+ if (!ret)
+ return ECORE_CALLBACK_PASS_ON;
+ }
+
if (ec->visibility.obscured == E_VISIBILITY_UNOBSCURED)
_e_process_thaw(pid);
else if (ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)
if (!ec) return ECORE_CALLBACK_PASS_ON;
pid = ec->netwm.pid;
- if (pid <= 0) return EINA_FALSE;
+ if (pid <= 0) return ECORE_CALLBACK_PASS_ON;
pinfo = _e_process_find(_e_process_manager, pid);
- if (!pinfo) return EINA_FALSE;
+ if (!pinfo)
+ {
+ Eina_Bool ret = EINA_FALSE;
+ ret = _e_process_client_info_add(ec);
+ if (!ret)
+ return ECORE_CALLBACK_PASS_ON;
+ }
ec_deactive = _e_process_manager->active_win;
_e_process_manager->active_win = ec;