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

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 8b528cf6c4e07311e06c6ba4e327b61b9645134f
Author: Cedric BAIL <[email protected]>
AuthorDate: Sun Nov 15 12:36:06 2026 -0600

    examples: spinner_cxx_example exits when its window is closed
    
    The window hides itself when it is closed, and nothing in this example
    set a quit policy, so the program kept running with no window left. The
    other C++ examples with a window set ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
    for that reason.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 src/examples/elementary/spinner_cxx_example.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/examples/elementary/spinner_cxx_example.cc b/src/examples/elementary/spinner_cxx_example.cc
index 02d2698459..2393b16773 100644
--- a/src/examples/elementary/spinner_cxx_example.cc
+++ b/src/examples/elementary/spinner_cxx_example.cc
@@ -30,6 +30,8 @@ static efl::ui::Win win;
 static void
 efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
 {
+   elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);
+
    efl::ui::Win win(instantiate);
    win.text_set("Spinner Example");
    win.autohide_set(true);

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

Reply via email to