From 66b6d770d86de6208590d903b077f8d9d6a25575 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 1 Feb 2022 12:30:00 +0000 Subject: [PATCH] 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;