wl - handle logicaly dead code by doing the most logical thing
it would seem it wants to send it being allowed if it has handled the case, so get rid of logically dead coe and make it not dead... fix CID 1403932
This commit is contained in:
parent
3d6597d3ec
commit
d5d53a0e96
|
@ -84,7 +84,7 @@ _e_policy_wl_aux_hint_apply(E_Client *ec)
|
|||
EINA_LIST_FOREACH(ec->comp_data->aux_hint.hints, l, hint)
|
||||
{
|
||||
if (!hint->changed) continue;
|
||||
send = EINA_FALSE;
|
||||
send = EINA_TRUE;
|
||||
hint->changed = EINA_FALSE;
|
||||
if (!strcmp(hint->hint, hint_names[E_POLICY_HINT_MSG_USE]))
|
||||
{
|
||||
|
@ -155,8 +155,8 @@ _e_policy_wl_aux_hint_apply(E_Client *ec)
|
|||
tec = ec->stack.next;
|
||||
if (tec) e_policy_wl_aux_message_send(tec, "stack_del", "1", NULL);
|
||||
}
|
||||
if (send)
|
||||
_e_policy_wl_allowed_aux_hint_send(ec, hint->id);
|
||||
else send = EINA_FALSE;
|
||||
if (send) _e_policy_wl_allowed_aux_hint_send(ec, hint->id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue