allow more client hooks to bypass delete check

failing to propagate these signals can result in a broken compositor
when a client is deleted before/during an operation
This commit is contained in:
Mike Blumenkrantz 2015-11-24 21:41:48 -05:00
parent 3732a233e2
commit 28a40d359f
1 changed files with 3 additions and 0 deletions

View File

@ -323,6 +323,9 @@ _e_client_hook_call(E_Client_Hook_Point hookpoint, E_Client *ec)
if (ch->delete_me) continue;
ch->func(ch->data, ec);
if ((hookpoint != E_CLIENT_HOOK_DEL) &&
(hookpoint != E_CLIENT_HOOK_MOVE_END) &&
(hookpoint != E_CLIENT_HOOK_RESIZE_END) &&
(hookpoint != E_CLIENT_HOOK_FOCUS_UNSET) &&
e_object_is_del(E_OBJECT(ec)))
break;
}