raster pushed a commit to branch v-0.25.0.

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

commit 200fea6e38b831bde1168810b0c205ee1bff4a54
Author: Carsten Haitzler <[email protected]>
Date:   Fri Jan 21 21:05:32 2022 +0000

    focus out - ignore all ungrabs as we unfocus a window that should be
    
    this fixes a boundary case on mouse ungrabs
    
    @fix
---
 src/bin/e_comp_x.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 8bc2c99d6..9dd8c3279 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2872,10 +2872,12 @@ _e_comp_x_focus_out(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_
      {
         /* for firefox/thunderbird (xul) menu walking */
         /* NB: why did i disable this before? */
+        return ECORE_CALLBACK_PASS_ON;
+        /* why only filter these out for an ungrab? skip all ungrabs...
         if (ev->detail == ECORE_X_EVENT_DETAIL_INFERIOR)
           return ECORE_CALLBACK_PASS_ON;
         else if (ev->detail == ECORE_X_EVENT_DETAIL_POINTER)
-          return ECORE_CALLBACK_PASS_ON;
+          return ECORE_CALLBACK_PASS_ON; */
      }
    else if (ev->mode == ECORE_X_EVENT_MODE_WHILE_GRABBED)
      {

-- 


Reply via email to