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
enlightenment-0.24
Carsten Haitzler 2 years ago
parent 3d6597d3ec
commit d5d53a0e96
  1. 6
      src/bin/e_comp_wl_extensions_tizen.c

@ -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…
Cancel
Save