This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch reproducible-widget-previews
in repository efl.

View the commit online.

commit 4f1c98ab211703184a96dd76316604f3d6578804
Author: Cedric BAIL <[email protected]>
AuthorDate: Tue Mar 17 21:46:24 2026 -0600

    ecore_evas_cocoa: fix lost-focus handler passing EINA_TRUE instead of EINA_FALSE
    
    Copy-paste bug: _ecore_evas_cocoa_event_lost_focus was calling
    _ecore_evas_focus_device_set with EINA_TRUE (focus gained) instead
    of EINA_FALSE (focus lost). Every other backend (X11, Wayland, Win32,
    SDL, FB) correctly passes EINA_FALSE for lost-focus events.
    
    This meant focus-out was never properly signaled on Cocoa, causing
    applications like Terminology to accumulate stale is_focused state
    on multiple containers, eventually hitting a debug assertion.
    
    Made-with: Cursor
---
 src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
index c505886e5c..360966522b 100644
--- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
+++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
@@ -71,7 +71,7 @@ _ecore_evas_cocoa_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED,
    ee = _ecore_evas_cocoa_match(e->cocoa_window);
    if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
 
-   _ecore_evas_focus_device_set(ee, NULL, EINA_TRUE);
+   _ecore_evas_focus_device_set(ee, NULL, EINA_FALSE);
    return ECORE_CALLBACK_PASS_ON;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to