raster pushed a commit to branch v-0.25.0.

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

commit 66b6d770d86de6208590d903b077f8d9d6a25575
Author: Carsten Haitzler <[email protected]>
Date:   Tue Feb 1 12:30:00 2022 +0000

    focus - fix some lingering mis-focus issues
    
    finally fix T8980 (i hope)
    @fix
---
 src/bin/e_comp_x.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 9dd8c3279..ae8a05233 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2854,6 +2854,8 @@ _e_comp_x_focus_out(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_
           return ECORE_CALLBACK_PASS_ON;
         else if (ev->detail == ECORE_X_EVENT_DETAIL_NON_LINEAR_VIRTUAL)
           return ECORE_CALLBACK_PASS_ON;
+        else if (ev->detail == ECORE_X_EVENT_DETAIL_POINTER)
+          return ECORE_CALLBACK_PASS_ON;
      }
    else if (ev->mode == ECORE_X_EVENT_MODE_GRAB)
      {
@@ -2885,6 +2887,8 @@ _e_comp_x_focus_out(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_
           return ECORE_CALLBACK_PASS_ON;
         else if (ev->detail == ECORE_X_EVENT_DETAIL_INFERIOR)
           return ECORE_CALLBACK_PASS_ON;
+        else if (ev->detail == ECORE_X_EVENT_DETAIL_NON_LINEAR)
+          return ECORE_CALLBACK_PASS_ON;
      }
    e_client_revert_focus(ec);
    return ECORE_CALLBACK_PASS_ON;

-- 


Reply via email to