From ea973717708a71b62e4661b4dad7b2bd15bc23ef Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 21 Jan 2022 21:05:32 +0000 Subject: [PATCH] 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) {