From: Eli Zaretskii Date: Thu, 6 Mar 2025 08:51:45 +0000 (+0200) Subject: Fix redisplay of tab bar when its text properties change X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=442b2debd21b35ec7e809ed0e980bd4688c4d57e;p=emacs.git Fix redisplay of tab bar when its text properties change * src/xdisp.c (update_tab_bar): Use 'equal-including-properties' to compare previous with the current tab-bar items. (Bug#76760) (cherry picked from commit bf027eb6ff267162c116006703698668794d37cc) --- diff --git a/src/xdisp.c b/src/xdisp.c index e06c398af3b..5ca713f099c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -14368,7 +14368,10 @@ update_tab_bar (struct frame *f, bool save_match_data) /* Redisplay the tab-bar if we changed it. */ if (new_n_tab_bar != f->n_tab_bar_items - || NILP (Fequal (new_tab_bar, f->tab_bar_items))) + /* Some features modify the appearance of the tab bar by + manipulating the text properties. */ + || NILP (Fequal_including_properties (new_tab_bar, + f->tab_bar_items))) { /* Redisplay that happens asynchronously due to an expose event may access f->tab_bar_items. Make sure we update both