raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d5d53a0e96863f3a5b789f6f82cdfba51bb0a8cd

commit d5d53a0e96863f3a5b789f6f82cdfba51bb0a8cd
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Apr 19 01:45:10 2020 +0100

    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);
      }
 }
 

-- 


Reply via email to