aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2025-03-06 10:51:45 +0200
committerEli Zaretskii2025-03-06 10:51:45 +0200
commitbf027eb6ff267162c116006703698668794d37cc (patch)
tree725ad360f5c82bd729cb12c504b20efbe8c4d0e1 /src
parent2a8cf3ca5f91036c9731ab3b062426a56b1d8195 (diff)
downloademacs-bf027eb6ff267162c116006703698668794d37cc.tar.gz
emacs-bf027eb6ff267162c116006703698668794d37cc.zip
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)
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 55c764fa03b..6c623abcb35 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -14368,7 +14368,10 @@ update_tab_bar (struct frame *f, bool save_match_data)
14368 14368
14369 /* Redisplay the tab-bar if we changed it. */ 14369 /* Redisplay the tab-bar if we changed it. */
14370 if (new_n_tab_bar != f->n_tab_bar_items 14370 if (new_n_tab_bar != f->n_tab_bar_items
14371 || NILP (Fequal (new_tab_bar, f->tab_bar_items))) 14371 /* Some features modify the appearance of the tab bar by
14372 manipulating the text properties. */
14373 || NILP (Fequal_including_properties (new_tab_bar,
14374 f->tab_bar_items)))
14372 { 14375 {
14373 /* Redisplay that happens asynchronously due to an expose event 14376 /* Redisplay that happens asynchronously due to an expose event
14374 may access f->tab_bar_items. Make sure we update both 14377 may access f->tab_bar_items. Make sure we update both