]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0730: GTK4 GUI tabline is not updated v9.2.0730
authorFoxe Chen <chen.foxe@gmail.com>
Fri, 26 Jun 2026 20:06:25 +0000 (20:06 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 26 Jun 2026 20:06:25 +0000 (20:06 +0000)
Problem:  GTK4 GUI tabline is not updated
Solution: Call gui_mch_update() in gui_mch_show_tabline(), matching the
          GTK3 GUI (Foxe Chen).

related: #20633

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui_gtk4.c
src/version.c

index 06efcfec156ea16ac1bbbec0b33bd4110423e952..e96801eb4520c86b81db3cc3c005b175155c8416 100644 (file)
@@ -2825,8 +2825,10 @@ gui_mch_draw_menubar(void)
     void
 gui_mch_show_tabline(int showit)
 {
-    if (gui.tabline != NULL)
-       gtk_widget_set_visible(gui.tabline, showit);
+    if (gui.tabline == NULL)
+       return;
+    gtk_widget_set_visible(gui.tabline, showit);
+    gui_mch_update();
 }
 
     int
index 3ebb3b8d2e342361864698ff7411444d20355293..782667cc230f297413aa09a71106e2216096bc97 100644 (file)
@@ -759,6 +759,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    730,
 /**/
     729,
 /**/