This is an automated email from the git hooks/post-receive script.
git pushed a commit to reference refs/pull/121/head
in repository efl.
View the commit online.
commit eaf2633e62fd3c81e28f9d627c24b60589d46c21
Author: Cedric BAIL <[email protected]>
AuthorDate: Wed Apr 29 18:12:29 2026 -0600
feat(elementary/win): wire macOS Dock-reopen via _elm_cocoa_app_init
The Cocoa branch of elm_win_main_menu_get now calls _elm_cocoa_app_init,
which installs the ecore_cocoa_reopen_cb that routes Dock-reopen events
through elm_app_new_window_request. Apps no longer need to call
ecore_cocoa_reopen_cb_set themselves behind #ifdef __APPLE__ — they
register an elm_app_new_window_cb instead, and EFL handles both the
Dock-reopen path and the File/New Window menu-click path.
---
src/lib/elementary/efl_ui_win.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index cf83c3d258..d299b74175 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -8919,6 +8919,7 @@ elm_win_main_menu_get(Evas_Object *obj)
#ifdef HAVE_ELEMENTARY_COCOA
if (sd->cocoa.win)
{
+ _elm_cocoa_app_init();
if (_elm_cocoa_menu_register(sd->main_menu))
{
/* Native Cocoa menu bar is active — hide the in-canvas
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.