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

git pushed a commit to branch tymux
in repository terminology.

View the commit online.

commit 87797adb8fc056c9b5272ef86d92b97568ce0bfb
Author: [email protected] <[email protected]>
AuthorDate: Thu Mar 19 11:30:50 2026 -0600

    fix: re-emit tymux,on signal on focus to persist indicator across tab switches
    
    The tymux indicator was only emitted once at term creation. During
    tab animations and focus transitions, the Edje state could be lost.
    Store a tymux_session flag on Term and re-emit "tymux,on" in
    _solo_focus so the indicator persists after tab switches.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
 src/bin/win.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/bin/win.c b/src/bin/win.c
index da932d37..c54e8bf4 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -148,6 +148,9 @@ struct tag_Term
    unsigned char popmedia_deleted : 1;
    unsigned char has_bg_cursor : 1;
    unsigned char core_cursor_set: 1;
+#ifdef HAVE_TYMUX
+   unsigned char tymux_session : 1;
+#endif
 
    Eina_Bool sendfile_request_enabled : 1;
    Eina_Bool sendfile_progress_enabled : 1;
@@ -748,6 +751,10 @@ _solo_focus(Term_Container *tc, Term_Container *relative)
         elm_layout_signal_emit(term->bg, "focus,in", "terminology");
         elm_layout_signal_emit(term->core, "focus,in", "terminology");
      }
+#ifdef HAVE_TYMUX
+   if (term->tymux_session)
+     elm_layout_signal_emit(term->bg, "tymux,on", "terminology");
+#endif
    termio_event_feed_mouse_in(term->termio);
    termio_focus_in(term->termio);
 
@@ -7468,7 +7475,10 @@ term_new(Win *wn, Config *config, const char *cmd,
    elm_layout_content_set(term->bg, "terminology.miniview", term->miniview);
 #ifdef HAVE_TYMUX
    if (session_name && *session_name)
-     elm_layout_signal_emit(term->bg, "tymux,on", "terminology");
+     {
+        term->tymux_session = 1;
+        elm_layout_signal_emit(term->bg, "tymux,on", "terminology");
+     }
 #endif
 
    evas_object_smart_callback_add(o, "options", _cb_options, term);

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

Reply via email to