From d5d53a0e96863f3a5b789f6f82cdfba51bb0a8cd Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 19 Apr 2020 01:45:10 +0100 Subject: [PATCH] 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 --- src/bin/e_comp_wl_extensions_tizen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_comp_wl_extensions_tizen.c b/src/bin/e_comp_wl_extensions_tizen.c index 5e9d8d9af..95bc3624d 100644 --- a/src/bin/e_comp_wl_extensions_tizen.c +++ b/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); } }