GNOME Bugzilla – Bug 730885
short-circuit no-change changes
Last modified: 2018-03-27 17:53:21 UTC
Could short-circuit changing e.g. window-title, icon-title, current-{file,directory}-uri etc when the new string is the same as the old one.
Signals are batched up so only one is sent, even if multiple changes to the same value occur in a very short time. Short circuiting can happen in vteseq.c:vte_sequence_handler_set_title_internal() and friends, in that case a quick back-n-forth toggling will still emit the signal; or in vte.c:vte_terminal_emit_pending_signals() in which case it won't.